src/JWT/Builder/JwtBuilder.cs
/// <summary>
/// Checks whether enough dependencies were supplied to build a new token.
/// </summary>
Checks whether enough dependencies were supplied to build a new token.
Checks whether enough dependencies were supplied to build a new token .
private bool CanBuild() =>
            _algorithm != null &&
            _serializer != null &&
            _urlEncoder != null &&
            _jwt.Payload != null &&
            (_algorithm.IsAsymmetric || HasOnlyOneSecret());
private bool CanBuild ( ) => _algorithm != null && _serializer != null && _urlEncoder != null && _jwt . Payload != null && ( _algorithm . IsAsymmetric || HasOnlyOneSecret ( ) ) ;
Checks whether enough dependencies were supplied to build a new token.
Checks whether enough dependencies were supplied to build a new token .