Class MicroserviceCredentials
java.lang.Object
com.cumulocity.microservice.context.credentials.MicroserviceCredentials
- All Implemented Interfaces:
Credentials
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleancopyOf(MicroserviceCredentials source) booleaninthashCode()voidvoidsetOAuthAccessToken(String oAuthAccessToken) voidsetPassword(String password) voidvoidsetTfaToken(String tfaToken) voidsetUsername(String username) voidsetXsrfToken(String xsrfToken) com.cumulocity.model.authentication.CumulocityCredentialstoString()withAppKey(String appKey) withIdentifier(String identifier) withOAuthAccessToken(String oAuthAccessToken) withPassword(String password) withTenant(String tenant) withTfaToken(String tfaToken) withUsername(String username) withXsrfToken(String xsrfToken)
-
Constructor Details
-
MicroserviceCredentials
-
MicroserviceCredentials
public MicroserviceCredentials()
-
-
Method Details
-
builder
-
copyOf
public static MicroserviceCredentials.MicroserviceCredentialsBuilder copyOf(MicroserviceCredentials source) -
withIdentifier
-
getTenant
- Specified by:
getTenantin interfaceCredentials
-
getUsername
- Specified by:
getUsernamein interfaceCredentials
-
getPassword
- Specified by:
getPasswordin interfaceCredentials
-
getOAuthAccessToken
- Specified by:
getOAuthAccessTokenin interfaceCredentials
-
getXsrfToken
- Specified by:
getXsrfTokenin interfaceCredentials
-
getTfaToken
- Specified by:
getTfaTokenin interfaceCredentials
-
getAppKey
- Specified by:
getAppKeyin interfaceCredentials
-
toCumulocityCredentials
public com.cumulocity.model.authentication.CumulocityCredentials toCumulocityCredentials() -
setTenant
-
setUsername
-
setOAuthAccessToken
-
setXsrfToken
-
setPassword
-
setTfaToken
-
setAppKey
-
equals
-
hashCode
public int hashCode() -
canEqual
-
withTenant
-
withUsername
-
withPassword
-
withOAuthAccessToken
-
withXsrfToken
-
withTfaToken
-
withAppKey
-
toString
-