Package io.jans.as.server.model.common
Class TxTokenGrant
- java.lang.Object
-
- io.jans.as.server.model.common.AbstractAuthorizationGrant
-
- io.jans.as.server.model.common.AuthorizationGrant
-
- io.jans.as.server.model.common.TxTokenGrant
-
- All Implemented Interfaces:
IAuthorizationGrant
public class TxTokenGrant extends AuthorizationGrant
- Author:
- Yuriy Z
-
-
Field Summary
-
Fields inherited from class io.jans.as.server.model.common.AbstractAuthorizationGrant
accessTokens, appConfiguration, refreshTokens, scopeChecker, txTokens
-
-
Constructor Summary
Constructors Constructor Description TxTokenGrant()
TxTokenGrant(io.jans.as.common.model.common.User user, io.jans.as.common.model.registration.Client client)
Construct a tx token grant.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefreshToken
createRefreshToken(ExecutionContext executionContext)
The authorization server MUST NOT issue a refresh token.io.jans.as.model.common.GrantType
getGrantType()
void
init(io.jans.as.common.model.common.User user, io.jans.as.common.model.registration.Client client)
-
Methods inherited from class io.jans.as.server.model.common.AuthorizationGrant
asToken, asToken, asToken, asToken, asToken, asTokenEntity, checkExpiredTokens, checkScopesPolicy, createAccessToken, createAccessTokenAsJwt, createIdToken, createRefreshToken, createRefreshToken, getScopesAsString, getSub, init, isCachedWithNoPersistence, isImplicitFlow, persist, persist, revokeAllTokens, save, setIsCachedWithNoPersistence
-
Methods inherited from class io.jans.as.server.model.common.AbstractAuthorizationGrant
getAccessToken, getAccessTokenLifetimeInSeconds, getAccessTokens, getAccessTokensCodes, getAcrValues, getAuthenticationTime, getAuthorizationCode, getAuthorizationGrantType, getAuthzDetails, getAuthzDetailsAsString, getClaims, getClient, getClientDn, getClientId, getCodeChallenge, getCodeChallengeMethod, getDpopJkt, getGrantId, getIdToken, getJwtAuthorizationRequest, getLongLivedAccessToken, getNonce, getRefreshToken, getRefreshTokens, getRefreshTokensCodes, getScopes, getSessionDn, getTokenBindingHash, getTokenEntity, getTxToken, getTxTokens, getUser, getUserDn, getUserId, getX5ts256, setAccessTokens, setAcrValues, setAuthenticationTime, setAuthorizationCode, setAuthzDetails, setClaims, setCodeChallenge, setCodeChallengeMethod, setDpopJkt, setGrantId, setIdToken, setJwtAuthorizationRequest, setLongLivedAccessToken, setNonce, setRefreshTokens, setScopes, setSessionDn, setTokenBindingHash, setTokenEntity, setTxTokens, setX5ts256, toString
-
-
-
-
Constructor Detail
-
TxTokenGrant
public TxTokenGrant()
-
TxTokenGrant
public TxTokenGrant(io.jans.as.common.model.common.User user, io.jans.as.common.model.registration.Client client)
Construct a tx token grant.- Parameters:
user
- The resource owner.client
- An application making protected resource requests on behalf of the resource owner and with its authorization.
-
-
Method Detail
-
getGrantType
public io.jans.as.model.common.GrantType getGrantType()
-
init
public void init(io.jans.as.common.model.common.User user, io.jans.as.common.model.registration.Client client)
-
createRefreshToken
public RefreshToken createRefreshToken(ExecutionContext executionContext)
The authorization server MUST NOT issue a refresh token.- Specified by:
createRefreshToken
in interfaceIAuthorizationGrant
- Overrides:
createRefreshToken
in classAuthorizationGrant
-
-