Class ClientGrantBase
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Base class for Client Grants
public class ClientGrantBase
- Inheritance
-
ClientGrantBase
- Derived
- Inherited Members
Properties
AllowAnyOrganization
If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.
[JsonProperty("allow_any_organization")]
public bool? AllowAnyOrganization { get; set; }
Property Value
- bool?
Audience
Gets or sets the audience
[JsonProperty("audience")]
public string Audience { get; set; }
Property Value
ClientId
Gets or sets the identifier of the Client
[JsonProperty("client_id")]
public string ClientId { get; set; }
Property Value
OrganizationUsage
Defines whether organizations can be used with client credentials exchanges for this grant. (defaults to deny when not defined)
[JsonProperty("organization_usage")]
[JsonConverter(typeof(StringEnumConverter))]
public OrganizationUsage? OrganizationUsage { get; set; }
Property Value
Remarks
Possible values: [deny, allow, require]
Scope
Gets or sets the list of scopes
[JsonProperty("scope")]
public List<string> Scope { get; set; }