Class UserCredentials
java.lang.Object
com.cumulocity.microservice.context.credentials.UserCredentials
- All Implemented Interfaces:
Credentials
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
void
void
setIdentifier
(String identifier) void
setOAuthAccessToken
(String oAuthAccessToken) void
setPassword
(String password) void
void
setTfaToken
(String tfaToken) void
setUsername
(String username) void
setXsrfToken
(String xsrfToken) 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
-
UserCredentials
-
UserCredentials
public UserCredentials()
-
-
Method Details
-
builder
-
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
-
getIdentifier
-
getTfaToken
- Specified by:
getTfaToken
in interfaceCredentials
-
getAppKey
- Specified by:
getAppKey
in interfaceCredentials
-
setTenant
-
setUsername
-
setPassword
-
setOAuthAccessToken
-
setXsrfToken
-
setIdentifier
-
setTfaToken
-
setAppKey
-
equals
-
hashCode
public int hashCode() -
canEqual
-
withTenant
-
withUsername
-
withPassword
-
withIdentifier
-
withOAuthAccessToken
-
withXsrfToken
-
withTfaToken
-
withAppKey
-
toString
-