Table of Contents

Class CreateClientGrantRequestContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record CreateClientGrantRequestContent : IEquatable<CreateClientGrantRequestContent>
Inheritance
CreateClientGrantRequestContent
Implements
Inherited Members
Extension Methods

Properties

AllowAllScopes

If enabled, all scopes configured on the resource server are allowed for this grant.

[JsonPropertyName("allow_all_scopes")]
public bool? AllowAllScopes { get; set; }

Property Value

bool?

AllowAnyOrganization

If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.

[JsonPropertyName("allow_any_organization")]
public bool? AllowAnyOrganization { get; set; }

Property Value

bool?

Audience

The audience (API identifier) of this client grant

[JsonPropertyName("audience")]
public required string Audience { get; set; }

Property Value

string

AuthorizationDetailsTypes

Types of authorization_details allowed for this client grant.

[JsonPropertyName("authorization_details_types")]
public IEnumerable<string>? AuthorizationDetailsTypes { get; set; }

Property Value

IEnumerable<string>

ClientId

ID of the client.

[JsonPropertyName("client_id")]
public string? ClientId { get; set; }

Property Value

string

OrganizationUsage

[JsonPropertyName("organization_usage")]
public ClientGrantOrganizationUsageEnum? OrganizationUsage { get; set; }

Property Value

ClientGrantOrganizationUsageEnum?

Scope

Scopes allowed for this client grant.

[JsonPropertyName("scope")]
public IEnumerable<string>? Scope { get; set; }

Property Value

IEnumerable<string>

SubjectType

[JsonPropertyName("subject_type")]
public ClientGrantSubjectTypeEnum? SubjectType { get; set; }

Property Value

ClientGrantSubjectTypeEnum?

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.