Table of Contents

Struct ClaimType

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll

JWT auth claim type ID (e.g. https://api.gastrosky.ch/identity/claims/resources/users).

public record struct ClaimType : IEquatable<ClaimType>
Implements
Inherited Members

Constructors

ClaimType(string)

JWT auth claim type ID (e.g. https://api.gastrosky.ch/identity/claims/resources/users).

public ClaimType(string claimType)

Parameters

claimType string

The claim type ID (e.g. https://api.gastrosky.ch/identity/claims/resources/users)

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

implicit operator string(ClaimType)

public static implicit operator string(ClaimType ct)

Parameters

ct ClaimType

Returns

string

implicit operator ClaimType(string)

public static implicit operator ClaimType(string claimType)

Parameters

claimType string

Returns

ClaimType