类 CredentialCode
- java.lang.Object
-
- org.elastos.hive.vault.backup.credential.CredentialCode
-
public class CredentialCode extends java.lang.ObjectThe credential code is used for the backup of the vault data.
-
-
构造器概要
构造器 构造器 说明 CredentialCode(ServiceEndpoint endpoint, BackupContext context)Create the credential code by service end point and the backup context.
-
-
-
构造器详细资料
-
CredentialCode
public CredentialCode(ServiceEndpoint endpoint, BackupContext context)
Create the credential code by service end point and the backup context.- 参数:
endpoint- The service end point.context- The backup context.
-
-
方法详细资料
-
getToken
public java.lang.String getToken() throws HiveExceptionGet the token of the credential code.- 返回:
- The token of the credential code.
- 抛出:
HiveException- The error comes from the hive node.
-
-