Class CumulocityOAuthCredentials
java.lang.Object
com.cumulocity.model.authentication.CumulocityOAuthCredentials
- All Implemented Interfaces:
CumulocityCredentials
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface com.cumulocity.model.authentication.CumulocityCredentials
CumulocityCredentials.CumulocityCredentialsVisitor<T> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCumulocityOAuthCredentials(String oAuthAccessToken, String xsrfToken, String applicationKey, String requestOrigin, AuthenticationMethod authenticationMethod) -
Method Summary
Modifier and TypeMethodDescription<T> Tbuilder()protected booleancopy()booleaninthashCode()voidsetApplicationKey(String applicationKey) voidsetAuthenticationMethod(AuthenticationMethod authenticationMethod) voidsetRequestOrigin(String requestOrigin) voidsetTenantId(String tenantId) voidsetUsername(String username) toString()
-
Field Details
-
CUMULOCITY_USER_ID_CLAIM
- See Also:
-
TENANT_ID_CLAIM
- See Also:
-
-
Constructor Details
-
CumulocityOAuthCredentials
public CumulocityOAuthCredentials(String oAuthAccessToken, String xsrfToken, String applicationKey, String requestOrigin, AuthenticationMethod authenticationMethod)
-
-
Method Details
-
getAuthenticationString
- Specified by:
getAuthenticationStringin interfaceCumulocityCredentials
-
getUsername
- Specified by:
getUsernamein interfaceCumulocityCredentials
-
getTenantId
- Specified by:
getTenantIdin interfaceCumulocityCredentials
-
copy
- Specified by:
copyin interfaceCumulocityCredentials
-
accept
- Specified by:
acceptin interfaceCumulocityCredentials
-
getAccessToken
-
builder
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getXsrfToken
-
setApplicationKey
- Specified by:
setApplicationKeyin interfaceCumulocityCredentials
-
getApplicationKey
- Specified by:
getApplicationKeyin interfaceCumulocityCredentials
-
setRequestOrigin
- Specified by:
setRequestOriginin interfaceCumulocityCredentials
-
getRequestOrigin
- Specified by:
getRequestOriginin interfaceCumulocityCredentials
-
setAuthenticationMethod
-
getAuthenticationMethod
- Specified by:
getAuthenticationMethodin interfaceCumulocityCredentials
-
setTenantId
-
setUsername
-