Package org.keycloak.services.managers
Class AppAuthManager.BearerTokenAuthenticator
- java.lang.Object
-
- org.keycloak.services.managers.AppAuthManager.BearerTokenAuthenticator
-
- Enclosing class:
- AppAuthManager
public static class AppAuthManager.BearerTokenAuthenticator extends Object
-
-
Constructor Summary
Constructors Constructor Description BearerTokenAuthenticator(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationManager.AuthResult
authenticate()
AppAuthManager.BearerTokenAuthenticator
setAudience(String audience)
AppAuthManager.BearerTokenAuthenticator
setConnection(ClientConnection connection)
AppAuthManager.BearerTokenAuthenticator
setHeaders(javax.ws.rs.core.HttpHeaders headers)
AppAuthManager.BearerTokenAuthenticator
setRealm(RealmModel realm)
AppAuthManager.BearerTokenAuthenticator
setSession(KeycloakSession session)
AppAuthManager.BearerTokenAuthenticator
setTokenString(String tokenString)
AppAuthManager.BearerTokenAuthenticator
setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Constructor Detail
-
BearerTokenAuthenticator
public BearerTokenAuthenticator(KeycloakSession session)
-
-
Method Detail
-
setSession
public AppAuthManager.BearerTokenAuthenticator setSession(KeycloakSession session)
-
setRealm
public AppAuthManager.BearerTokenAuthenticator setRealm(RealmModel realm)
-
setUriInfo
public AppAuthManager.BearerTokenAuthenticator setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
-
setConnection
public AppAuthManager.BearerTokenAuthenticator setConnection(ClientConnection connection)
-
setHeaders
public AppAuthManager.BearerTokenAuthenticator setHeaders(javax.ws.rs.core.HttpHeaders headers)
-
setTokenString
public AppAuthManager.BearerTokenAuthenticator setTokenString(String tokenString)
-
setAudience
public AppAuthManager.BearerTokenAuthenticator setAudience(String audience)
-
authenticate
public AuthenticationManager.AuthResult authenticate()
-
-