@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 |
getGrantType() |
java.lang.String |
getRedirectUri() |
void |
setCode(java.lang.String code) |
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.@NonNull public java.util.Map<java.lang.String,java.lang.String> toMap()
toMap
in interface AsMap
toMap
in class AbstractClientSecureGrant