http4k / org.http4k.security.oauth.server / OAuthServer
class OAuthServer
Provide help creating OAuth Authorization Server with Authorization Code Flow
References:
Name | Summary |
---|---|
<init> | OAuthServer(tokenPath: String , authRequestTracking: AuthRequestTracking , clientValidator: ClientValidator , authorizationCodes: AuthorizationCodes , accessTokens: AccessTokens , json: AutoMarshallingJson <*>, clock: Clock , authRequestExtractor: AuthRequestExtractor = AuthRequestFromQueryParameters, grantTypes: GrantTypesConfiguration = GrantTypesConfiguration.default(ClientSecretAccessTokenRequestAuthentication(clientValidator)), idTokens: IdTokens = IdTokens.Unsupported, refreshTokens: RefreshTokens = RefreshTokens.unsupported, requestJWTValidator: RequestJWTValidator = RequestJWTValidator.Unsupported, documentationUri: String ? = null) Provide help creating OAuth Authorization Server with Authorization Code Flow OAuthServer(tokenPath: String , authRequestTracking: AuthRequestTracking , authoriseRequestValidator: AuthoriseRequestValidator , accessTokenRequestAuthentication: AccessTokenRequestAuthentication , authorizationCodes: AuthorizationCodes , accessTokens: AccessTokens , json: AutoMarshallingJson <*>, clock: Clock , authRequestExtractor: AuthRequestExtractor = AuthRequestFromQueryParameters, grantTypes: GrantTypesConfiguration = GrantTypesConfiguration.default(accessTokenRequestAuthentication), idTokens: IdTokens = IdTokens.Unsupported, refreshTokens: RefreshTokens = RefreshTokens.unsupported, requestJWTValidator: RequestJWTValidator = RequestJWTValidator.Unsupported, documentationUri: String ? = null) |
Name | Summary |
---|---|
authenticationComplete | val authenticationComplete: AuthenticationComplete |
authenticationStart | val authenticationStart: Filter |
tokenRoute | val tokenRoute: RoutingHttpHandler |