方法 getCredential() getCredential(context): string | Promise<string> 参数 context CredentialContext 返回 string | Promise<string>