Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface AccessTokens
Provides a consistent way to generate access tokens.
Link copied to clipboard
class AuthenticationComplete(authorizationCodes: AuthorizationCodes, requestTracking: AuthRequestTracking, idTokens: IdTokens, documentationUri: String? = null) : Function1<request: Request, Response>
Link copied to clipboard
class AuthoriseRequestErrorRender(authoriseRequestValidator: AuthoriseRequestValidator, requestJWTValidator: RequestJWTValidator, fallBack: JsonResponseErrorRenderer, documentationUri: String? = null)
Link copied to clipboard
interface AuthoriseRequestValidator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class AuthorizationCodeDetails(val clientId: ClientId, val redirectUri: Uri, val expiresAt: Instant, val state: State?, val isOIDC: Boolean, val responseType: ResponseType = Code, val nonce: Nonce? = null)
Link copied to clipboard
Link copied to clipboard
interface AuthorizationCodes
Provides a consistent way to manage authorization codes
Link copied to clipboard
Link copied to clipboard
data class AuthRequest(val client: ClientId, val scopes: List<String>, val redirectUri: Uri?, val state: State?, val responseType: ResponseType = Code, val nonce: Nonce? = null, val responseMode: ResponseMode? = null, val request: RequestJwtContainer? = null, val requestObject: RequestObject? = null, val additionalProperties: Map<String, Any> = emptyMap(), val codeChallenge: String? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface AuthRequestTracking
Provides a mechanism to track OAuth authorization parameters to be used later (i.e. can be used later to generate code and/or tokens)
Link copied to clipboard
class AuthRequestTrackingFilter(tracking: AuthRequestTracking, extractor: AuthRequestExtractor, authoriseRequestErrorRender: AuthoriseRequestErrorRender) : Filter
Link copied to clipboard
class AuthRequestWithRequestAuthRequestExtractor(requestJWTValidator: RequestJWTValidator, combineAuthRequestRequestStrategy: AuthRequestWithRequestAuthRequestExtractor.CombineAuthRequestRequestStrategy) : AuthRequestExtractor
Link copied to clipboard
Link copied to clipboard
class ClientValidationFilter(authoriseRequestValidator: AuthoriseRequestValidator, errorRenderer: AuthoriseRequestErrorRender, extractor: AuthRequestExtractor) : Filter
Link copied to clipboard
interface ClientValidator
Provides a consistent way to retrieve clients attempting to use an authorization code flow
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class GenerateAccessToken(authorizationCodes: AuthorizationCodes, accessTokens: AccessTokens, clock: Clock, idTokens: IdTokens, refreshTokens: RefreshTokens, errorRenderer: JsonResponseErrorRenderer, grantTypes: GrantTypesConfiguration, tokenResponseRenderer: AccessTokenResponseRenderer = DefaultAccessTokenResponseRenderer) : Function1<request: Request, Response>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class OAuthServer(tokenPath: String, authRequestTracking: AuthRequestTracking, authoriseRequestValidator: AuthoriseRequestValidator, accessTokenRequestAuthentication: AccessTokenRequestAuthentication, authorizationCodes: AuthorizationCodes, accessTokens: AccessTokens, clock: Clock, json: AutoMarshalling = OAuthMoshi, authRequestExtractor: AuthRequestExtractor = AuthRequestFromQueryParameters, grantTypes: GrantTypesConfiguration = GrantTypesConfiguration.default(accessTokenRequestAuthentication), idTokens: IdTokens = IdTokens.Unsupported, refreshTokens: RefreshTokens = RefreshTokens.Unsupported, requestJWTValidator: RequestJWTValidator = RequestJWTValidator.Unsupported, documentationUri: String? = null, tokenResponseRenderer: AccessTokenResponseRenderer = DefaultAccessTokenResponseRenderer)
Provide help creating OAuth Authorization Server with Authorization Code Flow
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface ResponseRender
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard