Table of Contents

Class Actor

Namespace
Auth0.AuthenticationApi.Models
Assembly
Auth0.AuthenticationApi.dll

Represents the act (actor) claim from an exchanged access token.

public class Actor
Inheritance
Actor
Inherited Members
Extension Methods

Remarks

The outermost Actor identifies the current actor — the client that performed the token exchange. Only the current actor may be used for access-control decisions. Prior actors reachable through Act are informational only (audit/logging).

Constructors

Actor(string?, Actor?)

Initializes a new Actor. Used by the deserializer to populate the read-only properties; the type is otherwise only produced by decoding an access token.

[JsonConstructor]
public Actor(string? subject, Actor? act)

Parameters

subject string
act Actor

Properties

Act

The nested prior actor, or null if this is the end of the delegation chain.

[JsonPropertyName("act")]
public Actor? Act { get; }

Property Value

Actor

Subject

The sub of this actor. May be null if the decoded act claim did not contain a sub.

[JsonPropertyName("sub")]
public string? Subject { get; }

Property Value

string