Class PlainPkceGenerator
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.pkce.PlainPkceGenerator
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,PkceGenerator
Pkce generator for plain challenge method.
- Since:
- 3.9.0
- Author:
- Sergio del Amo
-
Field Details
-
ORDER
-
CODE_CHALLENGE_METHOD_PLAIN
- See Also:
-
-
Constructor Details
-
PlainPkceGenerator
- Parameters:
codeVerifierGenerator
- Code Verifier generator
-
-
Method Details
-
supportsAny
- Specified by:
supportsAny
in interfacePkceGenerator
- Parameters:
codeChallengeMethods
- Code Challenge methods- Returns:
- Whether the PKCE Generator supports any of the supplied code challenge methods.
-
generate
- Specified by:
generate
in interfacePkceGenerator
- Returns:
- Generates a
Pkce
.
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceio.micronaut.core.order.Ordered
-