Package org.apereo.cas.ticket.code
Interface OAuthCode
-
- All Superinterfaces:
java.lang.Comparable<org.apereo.cas.ticket.Ticket>,OAuthToken,java.io.Serializable,org.apereo.cas.ticket.ServiceTicket,org.apereo.cas.ticket.Ticket
public interface OAuthCode extends OAuthToken
An OAuth code is an OAuth token which can be used only once and has a short lifetime. It is used to grant access tokens.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFIXThe prefix for OAuth codes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCodeChallenge()The PKCE code challenge.java.lang.StringgetCodeChallengeMethod()The PKCE code challenge method.-
Methods inherited from interface org.apereo.cas.ticket.OAuthToken
getAuthentication, getScopes
-
-
-
-
Field Detail
-
PREFIX
static final java.lang.String PREFIX
The prefix for OAuth codes.- See Also:
- Constant Field Values
-
-