Class AccessTokenRequestContext
java.lang.Object
org.apereo.cas.support.oauth.web.response.accesstoken.ext.AccessTokenRequestContext
- All Implemented Interfaces:
Serializable
This is
AccessTokenRequestContext.- Since:
- 5.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAccessTokenRequestContext.AccessTokenRequestContextBuilder<C extends AccessTokenRequestContext,B extends AccessTokenRequestContext.AccessTokenRequestContextBuilder<C, B>> -
Constructor Summary
ConstructorsConstructorDescriptionAccessTokenRequestContext(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Authentication authentication, OAuth20Token token, boolean generateRefreshToken, boolean expireOldRefreshToken, org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket, OAuth20GrantTypes grantType, Set<String> scopes, Map<String, Map<String, Object>> claims, Map<String, Object> parameters, OAuth20ResponseModeTypes responseMode, OAuth20ResponseTypes responseType, String deviceCode, String codeChallenge, String codeChallengeMethod, String codeVerifier, String clientId, String redirectUri, org.pac4j.core.profile.UserProfile userProfile, String dpopConfirmation, String dpop) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()org.apereo.cas.authentication.AuthenticationgetDpop()org.apereo.cas.support.oauth.services.OAuthRegisteredServiceorg.apereo.cas.authentication.principal.Serviceorg.apereo.cas.ticket.TicketGrantingTicketgetToken()org.pac4j.core.profile.UserProfilebooleanbooleanbooleanbooleanvoidvoidsetDpopConfirmation(String dpopConfirmation) toString()withAuthentication(org.apereo.cas.authentication.Authentication authentication) withClientId(String clientId) withCodeChallenge(String codeChallenge) withCodeChallengeMethod(String codeChallengeMethod) withCodeVerifier(String codeVerifier) withDeviceCode(String deviceCode) withDpopConfirmation(String dpopConfirmation) withExpireOldRefreshToken(boolean expireOldRefreshToken) withGenerateRefreshToken(boolean generateRefreshToken) withGrantType(OAuth20GrantTypes grantType) withParameters(Map<String, Object> parameters) withRedirectUri(String redirectUri) withRegisteredService(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService) withResponseMode(OAuth20ResponseModeTypes responseMode) withResponseType(OAuth20ResponseTypes responseType) withScopes(Set<String> scopes) withService(org.apereo.cas.authentication.principal.Service service) withTicketGrantingTicket(org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket) withToken(OAuth20Token token) withUserProfile(org.pac4j.core.profile.UserProfile userProfile)
-
Constructor Details
-
AccessTokenRequestContext
public AccessTokenRequestContext(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Authentication authentication, OAuth20Token token, boolean generateRefreshToken, boolean expireOldRefreshToken, org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket, OAuth20GrantTypes grantType, Set<String> scopes, Map<String, Map<String, Object>> claims, Map<String, Object> parameters, OAuth20ResponseModeTypes responseMode, OAuth20ResponseTypes responseType, String deviceCode, String codeChallenge, String codeChallengeMethod, String codeVerifier, String clientId, String redirectUri, org.pac4j.core.profile.UserProfile userProfile, String dpopConfirmation, String dpop)
-
-
Method Details
-
isCodeToken
public boolean isCodeToken() -
isRefreshToken
public boolean isRefreshToken() -
builder
-
toString
-
getService
public org.apereo.cas.authentication.principal.Service getService() -
getAuthentication
public org.apereo.cas.authentication.Authentication getAuthentication() -
getToken
-
isGenerateRefreshToken
public boolean isGenerateRefreshToken() -
isExpireOldRefreshToken
public boolean isExpireOldRefreshToken() -
getRegisteredService
public org.apereo.cas.support.oauth.services.OAuthRegisteredService getRegisteredService() -
getTicketGrantingTicket
public org.apereo.cas.ticket.TicketGrantingTicket getTicketGrantingTicket() -
getGrantType
-
getScopes
-
getClaims
-
getParameters
-
getResponseMode
-
getResponseType
-
getDeviceCode
-
getCodeChallenge
-
getCodeChallengeMethod
-
getCodeVerifier
-
getClientId
-
getRedirectUri
-
getUserProfile
public org.pac4j.core.profile.UserProfile getUserProfile() -
getDpopConfirmation
-
getDpop
-
withService
public AccessTokenRequestContext withService(org.apereo.cas.authentication.principal.Service service) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAuthentication
public AccessTokenRequestContext withAuthentication(org.apereo.cas.authentication.Authentication authentication) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withToken
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withGenerateRefreshToken
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withExpireOldRefreshToken
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRegisteredService
public AccessTokenRequestContext withRegisteredService(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTicketGrantingTicket
public AccessTokenRequestContext withTicketGrantingTicket(org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withGrantType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScopes
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withClaims
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withParameters
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withResponseMode
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withResponseType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDeviceCode
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCodeChallenge
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCodeChallengeMethod
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCodeVerifier
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withClientId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRedirectUri
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUserProfile
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDpopConfirmation
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDpop
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
setDpopConfirmation
-
setDpop
-