Table of Contents

Class TokenResultExtensions

Namespace
Fdyay.AccessTokenManagement
Assembly
Fdyay.AccessTokenManagement.OpenIdConnect.dll

Unwraps a TokenResult<T>.

public static class TokenResultExtensions
Inheritance
TokenResultExtensions
Inherited Members

Methods

GetToken<T>(Task<TokenResult<T>>)

The token, or an InvalidOperationException saying why there is none.

public static Task<T> GetToken<T>(this Task<TokenResult<T>> task) where T : class

Parameters

task Task<TokenResult<T>>

Returns

Task<T>

Type Parameters

T