public final class ActivationLicense extends LicenseIdentity
Modifier and Type | Class and Description |
---|---|
static class |
ActivationLicense.ActivationLicenseBuilder<C extends ActivationLicense,B extends ActivationLicense.ActivationLicenseBuilder<C,B>> |
LicenseIdentity.LicenseIdentityBuilder<C extends LicenseIdentity,B extends LicenseIdentity.LicenseIdentityBuilder<C,B>>
Modifier | Constructor and Description |
---|---|
protected |
ActivationLicense(ActivationLicense.ActivationLicenseBuilder<?,?> b) |
Modifier and Type | Method and Description |
---|---|
static ActivationLicense.ActivationLicenseBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static ActivationLicense |
fromIdToken(String idToken,
String customerAccountCode)
Create license from SSO ID token and customer account code.
|
static ActivationLicense |
fromKey(String license)
Create license from license key
|
static ActivationLicense |
fromSsoCode(String ssoCode,
String customerAccountCode)
Create license from SSO authorization code and customer account code.
|
static ActivationLicense |
fromUsername(String username,
String password)
Create license from username and password.
|
String |
getCustomerAccountCode()
Identity's customer account code
|
String |
getPassword()
Identity's password
|
String |
getSsoCode()
Identity's SSO code
|
String |
getSsoIdToken()
Identity's SSO ID token
|
int |
hashCode() |
String |
toString() |
getIdentity, getLicenseId, getLicenseKey, getUsername, setLicenseId, setLicenseKey, setUsername
protected ActivationLicense(ActivationLicense.ActivationLicenseBuilder<?,?> b)
public static ActivationLicense fromUsername(String username, String password)
username
- usernamepassword
- passwordpublic static ActivationLicense fromIdToken(String idToken, String customerAccountCode)
idToken
- idTokencustomerAccountCode
- customerAccountCodepublic static ActivationLicense fromSsoCode(String ssoCode, String customerAccountCode)
ssoCode
- ssoCodecustomerAccountCode
- customerAccountCodepublic static ActivationLicense fromKey(String license)
license
- license keypublic static ActivationLicense.ActivationLicenseBuilder<?,?> builder()
public String getPassword()
public String getSsoIdToken()
public String getSsoCode()
public String getCustomerAccountCode()
public boolean equals(Object o)
equals
in class LicenseIdentity
protected boolean canEqual(Object other)
canEqual
in class LicenseIdentity
public int hashCode()
hashCode
in class LicenseIdentity
public String toString()
toString
in class LicenseIdentity
Copyright © 2025 Cense Data Inc.. All rights reserved.