org.keycloak.adapters

## Class BearerTokenRequestAuthenticator

- java.lang.Object
- - org.keycloak.adapters.BearerTokenRequestAuthenticator

-     public class BearerTokenRequestAuthenticator
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected AuthChallenge` | `challenge`
    `protected KeycloakDeployment` | `deployment`
    `protected org.jboss.logging.Logger` | `log`
    `protected String` | `surrogate`
    `protected AccessToken` | `token`
    `protected String` | `tokenString`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BearerTokenRequestAuthenticator(KeycloakDeployment deployment)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AuthOutcome` | `authenticate(HttpFacade exchange)`
    `protected AuthChallenge` | `challengeResponse(HttpFacade facade, String error, String description)`
    `protected AuthChallenge` | `clientCertChallenge()`
    `AuthChallenge` | `getChallenge()`
    `String` | `getSurrogate()`
    `AccessToken` | `getToken()`
    `String` | `getTokenString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### log

          protected org.jboss.logging.Logger log

    - #### tokenString

          protected String tokenString

    - #### token

          protected AccessToken token

    - #### surrogate

          protected String surrogate

    - #### challenge

          protected AuthChallenge challenge

    - #### deployment

          protected KeycloakDeployment deployment

  - ### Constructor Detail

    - #### BearerTokenRequestAuthenticator

          public BearerTokenRequestAuthenticator(KeycloakDeployment deployment)

  - ### Method Detail

    - #### getChallenge

          public AuthChallenge getChallenge()

    - #### getTokenString

          public String getTokenString()

    - #### getToken

          public AccessToken getToken()

    - #### getSurrogate

          public String getSurrogate()

    - #### authenticate

          public AuthOutcome authenticate(HttpFacade exchange)

    - #### clientCertChallenge

          protected AuthChallenge clientCertChallenge()

    - #### challengeResponse

          protected AuthChallenge challengeResponse(HttpFacade facade,
                                        String error,
                                        String description)

Copyright © 2014. All Rights Reserved.