OAuthTokenProvider.OnEndGetToken(IAsyncResult, DateTime) Method
Definition
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.
Retrieves a token when the provider ends.
protected override System.IdentityModel.Tokens.SecurityToken OnEndGetToken (IAsyncResult result, out DateTime cacheUntil);
override this.OnEndGetToken : IAsyncResult * DateTime -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function OnEndGetToken (result As IAsyncResult, ByRef cacheUntil As DateTime) As SecurityToken
Parameters
- result
- IAsyncResult
The result of the operation.
- cacheUntil
- DateTime
The duration for the provider to store data.
Returns
The retrieved token.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET