凭据(Credential)服务(Service)
Stores the credentials tools obtain, such as a user's OAuth2 tokens, so that later invocations can reuse them instead of asking the user to sign in again. A failure of the underlying store propagates as an exception.
Inheritors
函数
Link copied to clipboard
返回存储在指定位置下的凭据(credential)。 authConfig's AuthConfig.credentialKey for 上下文(context)如果不存在相应的值,则返回 `null`。
Link copied to clipboard
商店(Stores) authConfig's AuthConfig.exchangedAuthCredential 在其……的范围内;根据其……的规定 AuthConfig.credentialKey for 上下文(context)如果该凭据为空(即其值为 `null`),则后续的操作将会受到影响(或无法正常进行)。 loadCredential 返回值为 `null`。