IRenewableToken Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Simple interface to hide details of access token renewal. Consumers of this interface must defer retrieval of the token string until the point of SqlConnectionUsage
public interface IRenewableToken
type IRenewableToken = interface
Public Interface IRenewableToken
Resource |
The URL of the resource associated with the token |
Tenant |
The tenant id associated with the token |
Token |
Returns the expiration time of the most recently retrieved token If no token has been retrieved the value is undefined. |
User |
The user id associated with the token |
Get |
Returns an access token that can be used to query the associated Resource until the TokenExpiry time |