public class OAuth2AuthorizationCode
extends org.springframework.security.oauth2.core.AbstractOAuth2Token
AbstractOAuth2Token
representing an OAuth 2.0 Authorization Code Grant.AbstractOAuth2Token,
Section 4.1 Authorization Code Grant,
Serialized Form| Constructor and Description |
|---|
OAuth2AuthorizationCode(java.lang.String tokenValue,
java.time.Instant issuedAt,
java.time.Instant expiresAt)
Constructs an
OAuth2AuthorizationCode using the provided parameters. |
public OAuth2AuthorizationCode(java.lang.String tokenValue,
java.time.Instant issuedAt,
java.time.Instant expiresAt)
OAuth2AuthorizationCode using the provided parameters.tokenValue - the token valueissuedAt - the time at which the token was issuedexpiresAt - the time at which the token expires