Table of Contents

Class TeamClaimTypes

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Claim type constants for team-based authorization.

public static class TeamClaimTypes
Inheritance
TeamClaimTypes
Inherited Members

Fields

AccessLevel

Claim type for the access level.

public const string AccessLevel = "AccessLevel"

Field Value

string

ApiKeyId

Claim type carrying the stable identifier of the API key used to authenticate (the IApiKey.Key Guid string).

public const string ApiKeyId = "ApiKeyId"

Field Value

string

IsSystemKey

Claim type that marks a principal as authenticated via a system API key (not bound to a team). Value: "true".

public const string IsSystemKey = "IsSystemKey"

Field Value

string

Scope

Claim type for scopes. Multiple scope claims may be present.

public const string Scope = "Scope"

Field Value

string

TagPrefix

Prefix for per-tag claims emitted from an API key's Tags. A tag with key K becomes a claim of type tag.K. Multiple claims with the same type may be present.

public const string TagPrefix = "tag."

Field Value

string

TeamKey

Claim type for the team key.

public const string TeamKey = "TeamKey"

Field Value

string