Package io.micronaut.security.oauth2.endpoint.authorization.pkce
@Configuration
@Requires(property="micronaut.security.oauth2.pkce.enabled",
notEquals="false",
defaultValue="true")
package io.micronaut.security.oauth2.endpoint.authorization.pkce
Classes related to OAuth 2.0 state management.
- Since:
- 3.9.0
- Author:
- Nemanja Mikic
-
ClassDescriptionGenerates a Code Verifier for PKCE.
DefaultImplementation
ofCodeVerifierGenerator
which generates a random code verifier usingPkceConfiguration.getEntropy()
.Generates a Proof Key for Code Exchange and persists.Proof Key for Code Exchange.Proof Key for Code Exchange Challenge.Configuration for PKCE.Configuration properties implementation of PKCE.API to Build/Persist a PKCE (Proof Key for Code Exchange).Pkce generator for plain challenge method.SHA-256 based PKCE Generator.Condition
which evaluates to true if SHA-256 algorithm is supported.