<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.22.0" />

Microsoft.IdentityModel.Tokens.Experimental.ValidatedTokenType

Represents a validated token type, including the number of valid types present in the validation parameters.
public string Type { get; }

The token type that was validated.

public int ValidTypeCount { get; }

The number of valid types present in the validation parameters.

public ValidatedTokenType(string type, int validTypeCount)

Initializes a new instance of ValidatedTokenType.

public static bool op_Equality(ValidatedTokenType left, ValidatedTokenType right)

Equality comparison operator for ValidatedTokenType.

public static bool op_Inequality(ValidatedTokenType left, ValidatedTokenType right)

Inequality comparison operator for ValidatedTokenType.

public bool Equals(ValidatedTokenType other)

Determines whether the specified ValidatedTokenType is equal to the current instance.