public override Dictionary <string, object> jose_jwt(BenchmarkToken token) { try { return(JoseDotNetCore(token.InvalidTokenString, Jose.JwsAlgorithm.HS256, SigningKey)); } catch (Exception) { return(null !); } }
public override IDictionary <string, object> Jwt_Net(BenchmarkToken token) { try { return(JwtDotNetCore(token.InvalidTokenString, SigningKey, true)); } catch (Exception) { return(null !); } }
public override ClaimsPrincipal Wilson(BenchmarkToken token) { try { return(WilsonCore(token.InvalidTokenString, wilsonParameters)); } catch (SecurityTokenEncryptionKeyNotFoundException) { return(null !); } catch (SecurityTokenDecryptionFailedException) { return(null !); } catch (SecurityTokenExpiredException) { return(null !); } catch (SecurityTokenInvalidAudienceException) { return(null !); } catch (SecurityTokenInvalidLifetimeException) { return(null !); } catch (SecurityTokenInvalidSignatureException) { return(null !); } catch (SecurityTokenNoExpirationException) { return(null !); } catch (SecurityTokenNotYetValidException) { return(null !); } catch (SecurityTokenReplayAddFailedException) { return(null !); } catch (SecurityTokenReplayDetectedException) { return(null !); } catch (SecurityTokenException) { return(null !); } }
public abstract Microsoft.IdentityModel.Tokens.TokenValidationResult WilsonJwt(BenchmarkToken token);
public override IDictionary <string, object> Jwt_Net(BenchmarkToken token) { throw new NotSupportedException(); }
public override Dictionary <string, object> jose_jwt(BenchmarkToken token) { return(JoseDotNetCore(token.TokenString, Jose.JwsAlgorithm.none, signingKey)); }
public override Microsoft.IdentityModel.Tokens.TokenValidationResult WilsonJwt(BenchmarkToken token) { return(WilsonJwtCore(token.TokenString, wilsonParametersWithoutSignature)); }
public override ClaimsPrincipal Wilson(BenchmarkToken token) { return(WilsonCore(token.TokenString, wilsonParametersWithoutSignature)); }
public override Jwt JsonWebToken(BenchmarkToken token) { JwtCore(token.TokenBinary, tokenValidationPolicyWithoutSignature, out var jwt); jwt.Dispose(); return(jwt); }
public abstract Jwt JsonWebToken(BenchmarkToken token);
public override Dictionary <string, object> jose_jwt(BenchmarkToken token) { return(JoseDotNetCore(token.TokenString, Jose.JweEncryption.A128CBC_HS256, Jose.JweAlgorithm.A128KW, encryptionKey)); }
public override TokenValidationResult JsonWebToken(BenchmarkToken token) { return(JwtCore(token.InvalidTokenBinary, tokenValidationPolicy)); }
public override Dictionary <string, object> jose_jwt(BenchmarkToken token) { throw new NotImplementedException(); }
public abstract Dictionary <string, object> jose_jwt(BenchmarkToken token);
public override IDictionary <string, object> Jwt_Net(BenchmarkToken token) { return(JwtDotNetCore(token.TokenString, signingKey, true)); }
public abstract IDictionary <string, object> Jwt_Net(BenchmarkToken token);
public override TokenValidationResult JsonWebToken(BenchmarkToken token) { return(JwtCore(token.TokenBinary, tokenValidationPolicyWithoutSignature)); }
public abstract ClaimsPrincipal Wilson(BenchmarkToken token);
public abstract TokenValidationResult JsonWebToken(BenchmarkToken token);