## Uses of Interface
com.holonplatform.auth.AuthenticationToken

- Packages that use AuthenticationToken
  Package | Description
  --- | ---
  com.holonplatform.auth |
  com.holonplatform.auth.token |

- - ### Uses of AuthenticationToken in com.holonplatform.auth

    Classes in com.holonplatform.auth with type parameters of type AuthenticationToken
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Authenticator<T extends AuthenticationToken>` Authenticator is responsible for authenticating accounts using an `AuthenticationToken`.

    Methods in com.holonplatform.auth with type parameters of type AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `<T extends AuthenticationToken> void` | Realm.`addAuthenticator(Authenticator<T> authenticator)` Add a concrete `Authenticator` for a specific `AuthenticationToken` type to this Realm
    `<T extends AuthenticationToken> Realm.Builder` | Realm.Builder.`authenticator(Authenticator<T> authenticator)` Register given `Authenticator` in Realm.

    Methods in com.holonplatform.auth that return AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `static AuthenticationToken` | AuthenticationToken.`accountCredentials(String accountId, String secret)` Create a basic `AuthenticationToken` to represent a generic account authentication.
    `static AuthenticationToken` | AuthenticationToken.`bearer(String token)` Create an `AuthenticationToken` to represent a `HttpHeaders.SCHEME_BEARER` token authentication.

    Methods in com.holonplatform.auth that return types with arguments of type AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `Optional<AuthenticationToken>` | AuthenticationToken.AuthenticationTokenResolver.`getAuthenticationToken(R request)` Parse given `request` message and try to obtain an `AuthenticationToken` if request is eligible for this resolver authentication mechanism.

    Methods in com.holonplatform.auth with parameters of type AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `Authentication` | AuthContext.`authenticate(AuthenticationToken authenticationToken)` Attempts to authenticate a user using given `AuthenticationToken`.

    Method parameters in com.holonplatform.auth with type arguments of type AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Realm.`supportsToken(Class<? extends AuthenticationToken> authenticationTokenType)` Returns whether this Realm supports given `AuthenticationToken` type (i.e. and `Authenticator` bound to given token type is registered in realm)

  - ### Uses of AuthenticationToken in com.holonplatform.auth.token

    Classes in com.holonplatform.auth.token that implement AuthenticationToken
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AccountCredentialsToken` Basic `AuthenticationToken` to represent a generic account authentication.
    `class` | `BearerAuthenticationToken` `AuthenticationToken` representing a Bearer authententication token.

Copyright © 2017 The Holon Platform. All rights reserved.