public class JwtRequestCodeGrant extends AuthorizationCodeGrant
Constructor and Description |
---|
JwtRequestCodeGrant() |
JwtRequestCodeGrant(String issuer) |
JwtRequestCodeGrant(String code,
String issuer) |
JwtRequestCodeGrant(String code,
URI uri,
String issuer) |
Modifier and Type | Method and Description |
---|---|
protected JweEncryptionProvider |
getInitializedEncryptionProvider() |
protected JwsSignatureProvider |
getInitializedSigProvider() |
String |
getRequest() |
void |
setClientSecret(String clientSecret) |
void |
setEncryptionProvider(JweEncryptionProvider encProvider) |
void |
setEncryptWithClientSecret(boolean encryptWithClientSecret) |
void |
setIssuer(String issuer) |
void |
setSignatureProvider(JwsSignatureProvider signatureProvider) |
void |
setSignWithClientSecret(boolean signWithClientSecret) |
javax.ws.rs.core.MultivaluedMap<String,String> |
toMap()
Returns the map containing public grant parameters;
can be used by clients requesting the access tokens.
|
getCode, getRedirectUri, getType, setCode, setRedirectUri
public JwtRequestCodeGrant()
public JwtRequestCodeGrant(String issuer)
public void setSignatureProvider(JwsSignatureProvider signatureProvider)
public void setEncryptionProvider(JweEncryptionProvider encProvider)
protected JwsSignatureProvider getInitializedSigProvider()
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
AuthorizationCodeGrant
toMap
in interface AccessTokenGrant
toMap
in class AuthorizationCodeGrant
public String getRequest()
protected JweEncryptionProvider getInitializedEncryptionProvider()
public void setIssuer(String issuer)
public void setClientSecret(String clientSecret)
public void setEncryptWithClientSecret(boolean encryptWithClientSecret)
public void setSignWithClientSecret(boolean signWithClientSecret)
Apache CXF