Authorization/CafeLib.Authorization.Tokens/Token.cs
/// <summary>
/// Convert token to token string.
/// </summary>
/// <returns></returns>
Convert token to token string.
Convert token to token string .
public override string ToString()
        {
            if (string.IsNullOrWhiteSpace(_tokenString))
            {
                if (_token != null)
                {
                    _tokenString = _handler.WriteToken(_token);
                }
                else
                {
                    throw new ArgumentNullException(nameof(_token));
                }
            }
            return _tokenString;
        }
public override string ToString ( ) { if ( string . IsNullOrWhiteSpace ( _tokenString ) ) { if ( _token != null ) { _tokenString = _handler . WriteToken ( _token ) ; } else { throw new ArgumentNullException ( nameof ( _token ) ) ; } } return _tokenString ; }
Convert token to token string.
Convert token to token string .
None