@Introspected public class AuthorizationCodeGrant extends AbstractClientSecureGrant implements SecureGrant, AsMap
clientId, clientSecret
KEY_CLIENT_ID, KEY_CLIENT_SECRET
Constructor and Description |
---|
AuthorizationCodeGrant() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
java.lang.String |
getCodeVerifier() |
java.lang.String |
getGrantType() |
java.lang.String |
getRedirectUri() |
void |
setCode(java.lang.String code) |
void |
setCodeVerifier(java.lang.String codeVerifier) |
void |
setGrantType(java.lang.String grantType) |
void |
setRedirectUri(java.lang.String redirectUri) |
java.util.Map<java.lang.String,java.lang.String> |
toMap() |
getClientId, getClientSecret, setClientId, setClientSecret
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setClientId, setClientSecret
@NonNull public java.lang.String getGrantType()
getGrantType
in class AbstractClientSecureGrant
public void setGrantType(@NonNull java.lang.String grantType)
setGrantType
in class AbstractClientSecureGrant
grantType
- OAuth 2.0 Grant Type.@NonNull public java.lang.String getRedirectUri()
public void setRedirectUri(@NonNull java.lang.String redirectUri)
redirectUri
- Redirection URI to which the response will be sent.@NonNull public java.lang.String getCode()
public void setCode(@NonNull java.lang.String code)
code
- An authorization code.@Nullable public java.lang.String getCodeVerifier()
public void setCodeVerifier(@Nullable java.lang.String codeVerifier)
codeVerifier
- A PKCE code verifier.@NonNull public java.util.Map<java.lang.String,java.lang.String> toMap()
toMap
in interface AsMap
toMap
in class AbstractClientSecureGrant