Class GenericAlgorithmFactory<TAlgo>
- Namespace
- JWT.Algorithms
- Assembly
- Coherence.JWT.dll
public sealed class GenericAlgorithmFactory<TAlgo> : IAlgorithmFactory where TAlgo : IJwtAlgorithm, new()
Type Parameters
TAlgo
- Inheritance
-
GenericAlgorithmFactory<TAlgo>
- Implements
Constructors
GenericAlgorithmFactory()
public GenericAlgorithmFactory()
Methods
Create(JwtDecoderContext)
Creates an AlgorithmFactory using the provided algorithm enum.
public IJwtAlgorithm Create(JwtDecoderContext context)
Parameters
context
JwtDecoderContextThe captured context during validation of JWT inside JwtDecoder