@Named(value="plain") @Singleton public class PlainPkceGenerator extends java.lang.Object implements PkceGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CODE_CHALLENGE_METHOD_PLAIN |
static java.lang.Integer |
ORDER |
Constructor and Description |
---|
PlainPkceGenerator(CodeVerifierGenerator codeVerifierGenerator) |
Modifier and Type | Method and Description |
---|---|
Pkce |
generate() |
java.lang.String |
getName() |
int |
getOrder() |
boolean |
supportsAny(java.util.List<java.lang.String> codeChallengeMethods) |
public static final java.lang.Integer ORDER
public static final java.lang.String CODE_CHALLENGE_METHOD_PLAIN
public PlainPkceGenerator(CodeVerifierGenerator codeVerifierGenerator)
codeVerifierGenerator
- Code Verifier generatorpublic boolean supportsAny(@NonNull java.util.List<java.lang.String> codeChallengeMethods)
supportsAny
in interface PkceGenerator
codeChallengeMethods
- Code Challenge methods@NonNull public Pkce generate()
generate
in interface PkceGenerator
Pkce
.@NonNull public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
public int getOrder()
getOrder
in interface io.micronaut.core.order.Ordered