Class JwtRequestCodeGrant
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeGrant
-
- org.apache.cxf.rs.security.oauth2.grants.code.JwtRequestCodeGrant
-
- All Implemented Interfaces:
Serializable,AccessTokenGrant
public class JwtRequestCodeGrant extends AuthorizationCodeGrant
Base Authorization Code Grant representation, captures the code and the redirect URI this code has been returned to, visible to the client- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwtRequestCodeGrant()JwtRequestCodeGrant(String issuer)JwtRequestCodeGrant(String code, String issuer)JwtRequestCodeGrant(String code, URI uri, String issuer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthJoseJwtProducergetJoseProducer()StringgetRequest()voidsetClientSecret(String clientSecret)voidsetIssuer(String issuer)voidsetJoseProducer(OAuthJoseJwtProducer joseProducer)javax.ws.rs.core.MultivaluedMap<String,String>toMap()Returns the map containing public grant parameters; can be used by clients requesting the access tokens.-
Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeGrant
getCode, getCodeVerifier, getRedirectUri, getType, setCode, setCodeVerifier, setRedirectUri
-
-
-
-
Method Detail
-
toMap
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
Description copied from class:AuthorizationCodeGrantReturns the map containing public grant parameters; can be used by clients requesting the access tokens.- Specified by:
toMapin interfaceAccessTokenGrant- Overrides:
toMapin classAuthorizationCodeGrant- Returns:
- the grant parameters
-
getRequest
public String getRequest()
-
setIssuer
public void setIssuer(String issuer)
-
setClientSecret
public void setClientSecret(String clientSecret)
-
getJoseProducer
public OAuthJoseJwtProducer getJoseProducer()
-
setJoseProducer
public void setJoseProducer(OAuthJoseJwtProducer joseProducer)
-
-