Package ca.cdr.api.security
Class ClientAuthState
java.lang.Object
ca.cdr.api.security.ClientAuthState
Keeps authentication state properties. After initialization only one of myJwt or mySecret properties
must be valid depending on the authorization flow to be used:
- myJwt for private_key_jwt workflow
- mySecret for client_secret workflow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.http.message.BasicNameValuePair>
getScope()
boolean
boolean
void
setAccessToken
(OpenIdTokenResponse theToken) void
void
setTokenExpiresInSeconds
(long theExpSecs) void
setWellKnownConfig
(OpenIdWellKnownOpenIdConfigurationResponse theWellKnownResponse)
-
Constructor Details
-
ClientAuthState
-
-
Method Details
-
isAccessTokenExpired
-
isForceHttpInTokenRequestAudience
-
getKeystoreName
-
getAccessToken
-
setAccessToken
-
getTokenEndpoint
-
getTargetServiceBase
-
setTargetServiceBase
-
getClientId
-
setTokenExpiresInSeconds
-
getCustomTokenRequestParams
-
getScope
-
setWellKnownConfig
-
getClientSecret
-
getClientTlsConfigObject
-