Skip to main content

ClientDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Data Transfer Object of a Octo client

public class ClientDto

Inheritance ObjectClientDto

Properties

IsEnabled

Specifies if client is enabled

public Nullable<bool> IsEnabled { get; set; }

Property Value

Nullable<Boolean>

ClientId

Unique ID of the client

public string ClientId { get; set; }

Property Value

String

ClientSecret

Optional client secret

public string ClientSecret { get; set; }

Property Value

String

ClientName

Client display name (used for logging and consent screen)

public string ClientName { get; set; }

Property Value

String

ClientUri

URI to further information about client (used on consent screen)

public string ClientUri { get; set; }

Property Value

String

AllowedGrantTypes

Specifies the allowed grant types (legal combinations of AuthorizationCode, Implicit, Hybrid, ResourceOwner, ClientCredentials).

public IEnumerable<string> AllowedGrantTypes { get; set; }

Property Value

IEnumerable<String>

RedirectUris

Specifies allowed URIs to return tokens or authorization codes to

public IEnumerable<string> RedirectUris { get; set; }

Property Value

IEnumerable<String>

PostLogoutRedirectUris

Specifies allowed URIs to redirect to after logout

public IEnumerable<string> PostLogoutRedirectUris { get; set; }

Property Value

IEnumerable<String>

AllowedCorsOrigins

Gets or sets the allowed CORS origins for JavaScript clients.

public IEnumerable<string> AllowedCorsOrigins { get; set; }

Property Value

IEnumerable<String>

AllowedScopes

Specifies the api scopes that the client is allowed to request

public IEnumerable<string> AllowedScopes { get; set; }

Property Value

IEnumerable<String>

IsOfflineAccessEnabled

Specifies if offline access to use code_authorization is enabled

public Nullable<bool> IsOfflineAccessEnabled { get; set; }

Property Value

Nullable<Boolean>

Constructors

ClientDto()

public ClientDto()