src/JWT/Builder/JwtBuilder.cs
/// <summary>
/// Decodes a token using the supplied dependencies.
/// </summary>
/// <param name="token">The JWT</param>
/// <returns>The payload converted to <see cref="T" /></returns>
Decodes a token using the supplied dependencies.
Decodes a token using the supplied dependencies .
public T Decode<T>(string token)
        {
            if (_decoder is null)
                TryCreateDecoder();
            return _verify ? _decoder.DecodeToObject<T>(token, _secrets[0], _verify) : _decoder.DecodeToObject<T>(token);
        }
public T Decode < T > ( string token ) { if ( _decoder is null ) TryCreateDecoder ( ) ; return _verify ? _decoder . DecodeToObject < T > ( token , _secrets [ 0 ] , _verify ) : _decoder . DecodeToObject < T > ( token ) ; }
Decodes a token using the supplied dependencies.
Decodes a token using the supplied dependencies .
The payload converted to
The payload converted to
token
string
None