Table of Contents

Class IdentityProviderContext

Namespace
Cratis.Applications.Identity
Assembly
Cratis.Applications.dll

Represents the context used when providing identity payload.

public record IdentityProviderContext : IEquatable<IdentityProviderContext>
Inheritance
IdentityProviderContext
Implements
Inherited Members

Constructors

IdentityProviderContext(IdentityId, IdentityName, JsonObject, IEnumerable<KeyValuePair<string, string>>)

Represents the context used when providing identity payload.

public IdentityProviderContext(IdentityId Id, IdentityName Name, JsonObject Token, IEnumerable<KeyValuePair<string, string>> Claims)

Parameters

Id IdentityId

Unique identifier for the identity.

Name IdentityName

Name of the identity.

Token JsonObject

The raw token as JSON.

Claims IEnumerable<KeyValuePair<string, string>>

Any claims.

Properties

Claims

Any claims.

public IEnumerable<KeyValuePair<string, string>> Claims { get; init; }

Property Value

IEnumerable<KeyValuePair<string, string>>

Id

Unique identifier for the identity.

public IdentityId Id { get; init; }

Property Value

IdentityId

Name

Name of the identity.

public IdentityName Name { get; init; }

Property Value

IdentityName

Token

The raw token as JSON.

public JsonObject Token { get; init; }

Property Value

JsonObject