BIDLinkedAccount
public class BIDLinkedAccount extends Object
↳ package com.onekosmos.blockid.sdk.datamodel
Model class to represent the linked account data (attributes).
Method Summary
Type | Name | Description |
---|---|---|
boolean | equals(@Nullable Object obj) | Overrides equals (in class java.lang.Object) to check equality of two BIDLinkedAccount objects |
BIDAccount | getAccount() | Returns BIDAccountobject of linked account |
String | getAuthPage() | Returns authentication page of linked account. |
BIDOrigin | getOrigin() | Returns BIDOrigin of linked account |
BIDPasswordPolicy | getPasswordPolicy() | Returns password policy |
String | getScepExpiry() | Returns SCEP expiry date of linked account. |
String | getSceptoken() | Return SCEP token of linked account. |
String | getSmartcardhash() | Return Smartcard Hash of linked account. |
String | getUserId() | Return User ID of linked account. |
WorkstationAuthOrigin | getWorkstationAuthOrigin() | Return WorkstationAuthOrigin object of linked account |
boolean | isExternalKeyRegistered() | Returns if external key is registered or not |
boolean | ifOfflineAuthSupported() | Checks whether Offline Auth is supported for linked account |
void | setAccount(BIDAccountaccount) | Set BIDAccount for linked account |
void | setAuthPage(String authPage) | Set AuthPage for linked account. |
void | setExternalKeyRegistered(boolean externalKeyRegistered) | |
void | setOrigin(BIDOrigin origin) | Set origin for linked account |
void | setPasswordPolicy(BIDPasswordPolicy passwordPolicy) | Set password policy |
void | setScepExpiry(String scepExpiry) | Set SCEP Expitry for linked account |
void | setSceptoken(String sceptoken) | Set SCEP Token for linked account |
void | setSmartcardhash(String smartcardhash) | Set smart card hash for linked account |
void | setUserId(String userId) | Set User ID for linked account |
void | setWorkstationAuthOrigin(WorkstationAuthOrigin workstationAuthOrigin) | Set WorkstationAuthOrigin for linked account |
Method Detail
equals
public boolean equals(@Nullable Object obj)
- Overrides equals (in class java.lang.Object) to check equality of two BIDLinkedAccount objects.
getAccount
public BIDAccount getAccount()
- Returns BIDAccount object of linked account.
getAuthPage
public String getAuthModuleId()
- Returns authentication page of linked account.
getOrigin
public BIDOrigin getOrigin()
- Returns BIDOrigin of linked account.
getPasswordPolicy
public BIDPasswordPolicy getPasswordPolicy()
- Returns password policy of linked account.
getScepExpiry
public String getScepExpiry()
- Returns SCEP expiry date of linked account.
getSceptoken
public String getSceptoken()
- Return SCEP token of linked account.
getSmartcardhash
public String getSmartcardhash()
- Return Smartcard Hash of linked account.
getUserId
public String getUserId()
- Return User ID of linked account.
getWorkstationAuthOrigin
public WorkstationAuthOrigin getWorkstationAuthOrigin()
- Return WorkstationAuthOrigin object of linked account.
isExternalKeyRegistered
public boolean isExternalKeyRegistered()
- Return boolean if external key is registered.
ifOfflineAuthSupported
public boolean ifOfflineAuthSupported()
- Is Offline Auth supported for linked account?
setAccount
public void setAccount(BIDAccountaccount)
- Set BIDAccount for linked account.
Parameter | |
---|---|
account | BIDAccount: BID Account |
setAuthPage
public void setAuthPage(String authPage)
- Set AuthPage for linked account.
Parameter | |
---|---|
authPage | String: Auth Page |
setExternalKeyRegistered
public void setExternalKeyRegistered(boolean externalKeyRegistered)
- Set External registered key.
Parameter | |
---|---|
externalKeyRegistered | Boolean: External Key Registered |
setOrigin
public void setOrigin(BIDOrigin origin)
- Set origin for linked account.
Parameter | |
---|---|
origin | BIDOrigin: BID Origin |
setPasswordPolicy
public void setPasswordPolicy(BIDPasswordPolicy passwordPolicy)
- Set passport Policy for linked account.
Parameter | |
---|---|
passwordPolicy | BIDPasswordPolicy: BID Password Policy |
setScepExpiry
public void setScepExpiry(String scepExpiry)
- Set SCEP Expitry for linked account.
Parameter | |
---|---|
scepExpiry | String: SCEP Expiry |
setSceptoken
public void setSceptoken(String sceptoken)
- Set SCEP Token for linked account.
Parameter | |
---|---|
sceptoken | String: SCEP Token |
setSmartcardhash
public void setSmartcardhash(String smartcardhash)
- Set smart card hash for linked account.
Parameter | |
---|---|
smartcardhash | String: smart card hash |
setUserId
public void setUserId(String userId)
- Set User ID for linked account
Parameter | |
---|---|
userId | String: User ID |
setWorkstationAuthOrigin
public void setWorkstationAuthOrigin(WorkstationAuthOrigin workstationAuthOrigin)
- Set WorkstationAuthOrigin for linked account
Parameter | |
---|---|
workstationAuthOrigin | WorkstationAuthOrigin: WorkstationAuth Origin |