public class MindsphereCredentials
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MindsphereCredentials.AppCredentialsBuilder
Builder class to build MindsphereCredentials with app credential.
|
static class |
MindsphereCredentials.Builder
Builder class to build MindsphereCredentials with user token or tenant credentials.
|
static class |
MindsphereCredentials.TenantCredentialsBuilder
Builder class to build MindsphereCredentials with Tenant credential.
|
static class |
MindsphereCredentials.UserTokenBuilder
Builder class to build MindsphereCredentials with User token credential.
|
Modifier and Type | Method and Description |
---|---|
static MindsphereCredentials.AppCredentialsBuilder |
appCredentialsBuilder()
Builds MindsphereCredentials with app credential.
|
static MindsphereCredentials.Builder |
builder()
Deprecated.
Use of this builder is discouraged.
Instead use specific builders
|
AppCredentials |
getAppCredential() |
String |
getAuthorization()
Get the authorization value as a String
|
String |
getClientId()
Get client Id
|
String |
getClientSecret()
Get client secret
|
Builders |
getSelectedBuilder() |
String |
getSubTenant()
Get the subTenant
|
String |
getTechnicalToken()
Get Technical Token as a String
|
String |
getTenant()
Get the tenant
|
TenantCredentials |
getTenantCredential() |
TokenScope |
getTokenType()
Get the tokenType
|
UserToken |
getUserToken() |
void |
setTechnicalToken(String technicalToken)
Set Technical Token as a String
|
static MindsphereCredentials.TenantCredentialsBuilder |
tenantCredentialsBuilder()
Builds MindsphereCredentials with tenant credential.
|
static MindsphereCredentials.UserTokenBuilder |
userTokenBuilder() |
@Deprecated public static MindsphereCredentials.Builder builder()
public static MindsphereCredentials.AppCredentialsBuilder appCredentialsBuilder()
public static MindsphereCredentials.TenantCredentialsBuilder tenantCredentialsBuilder()
public static MindsphereCredentials.UserTokenBuilder userTokenBuilder()
public AppCredentials getAppCredential()
public TenantCredentials getTenantCredential()
public UserToken getUserToken()
public Builders getSelectedBuilder()
public String getTechnicalToken()
public void setTechnicalToken(String technicalToken)
technicalToken
- Technical tokenpublic String getAuthorization()
public String getClientId()
public String getClientSecret()
public String getTenant()
public String getSubTenant()
public TokenScope getTokenType()