Class MicroserviceCredentials
java.lang.Object
com.cumulocity.microservice.context.credentials.MicroserviceCredentials
- All Implemented Interfaces:
Credentials
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
copyOf
(MicroserviceCredentials source) boolean
int
hashCode()
void
void
setOAuthAccessToken
(String oAuthAccessToken) void
setPassword
(String password) void
void
setTfaToken
(String tfaToken) void
setUsername
(String username) void
setXsrfToken
(String xsrfToken) com.cumulocity.model.authentication.CumulocityCredentials
toString()
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:
getTenant
in interfaceCredentials
-
getUsername
- Specified by:
getUsername
in interfaceCredentials
-
getPassword
- Specified by:
getPassword
in interfaceCredentials
-
getOAuthAccessToken
- Specified by:
getOAuthAccessToken
in interfaceCredentials
-
getXsrfToken
- Specified by:
getXsrfToken
in interfaceCredentials
-
getTfaToken
- Specified by:
getTfaToken
in interfaceCredentials
-
getAppKey
- Specified by:
getAppKey
in 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
-