Interface ICredentialProvider
密钥帮助接口
Namespace: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public interface ICredentialProvider
Properties
CacheDirectory
缓存路径
Declaration
string CacheDirectory { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetClientCredential()
获取用户密钥信息
Declaration
IClientCredential GetClientCredential()
Returns
Type | Description |
---|---|
IClientCredential |
GetRefreshToken()
获取RefreshToken
Declaration
string GetRefreshToken()
Returns
Type | Description |
---|---|
System.String |
GetUserCredential()
获取用户信息
Declaration
IUserCredential GetUserCredential()
Returns
Type | Description |
---|---|
IUserCredential |
SetRefreshToken(String)
设置RefreshToken
Declaration
void SetRefreshToken(string refreshtoken)
Parameters
Type | Name | Description |
---|---|---|
System.String | refreshtoken |