Class ITokenProviderExtensionMethods
Inheritance
System.Object
ITokenProviderExtensionMethods
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public static class ITokenProviderExtensionMethods : Object
Methods
ContainsSecret(ITokenProvider, String)
Declaration
public static Task<bool> ContainsSecret(this ITokenProvider tokenProvider, string secret)
Parameters
Type |
Name |
Description |
ITokenProvider |
tokenProvider |
|
System.String |
secret |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
ValidateToken(ITokenProvider, String)
Declaration
public static Task<bool> ValidateToken(this ITokenProvider tokenProvider, string token)
Parameters
Type |
Name |
Description |
ITokenProvider |
tokenProvider |
|
System.String |
token |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|