Zum Hauptinhalt springen

FacebookIdentityProviderDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Identity provider configuration specifically for Facebook accounts.

public class FacebookIdentityProviderDto : IdentityProviderDto

Inheritance Object → IdentityProviderDto → FacebookIdentityProviderDto

Properties​

ClientId​

client id

public string ClientId { get; set; }

Property Value​

String

ClientSecret​

Client secret. Required on create; on update, omit (null or empty) to preserve the existing secret unchanged. Write-only: always null in responses; use FacebookIdentityProviderDto.ClientSecretIsSet to find out whether a secret is stored.

public string ClientSecret { get; set; }

Property Value​

String

ClientSecretIsSet​

Response only: whether a client secret is stored for this identity provider. The secret itself is write-only and never returned (FacebookIdentityProviderDto.ClientSecret is always null in responses). Ignored on create/update. Not written when null.

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

Property Value​

Nullable<Boolean>

ClientSecretKeyMissing​

Response only: true when a client secret is stored but cannot be read because its key id is not in this environment's key ring (re-entry needed; FacebookIdentityProviderDto.ClientSecretIsSet is false then). Ignored on create/update. Not written when null.

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

Property Value​

Nullable<Boolean>

ClientSecretSetAt​

Response only: when the current client secret was set (UTC); null when not set or for legacy values. Ignored on create/update. Not written when null.

public Nullable<DateTime> ClientSecretSetAt { get; set; }

Property Value​

Nullable<DateTime>

IsEnabled​

Indicates if an identity provider is enabled

public bool IsEnabled { get; set; }

Property Value​

Boolean

RtId​

Unique ID for the IdentityProviderConfiguration. Do not set this property when creating a new configuration. The API automatically returns an ID once the configuration has been created.

public Nullable<OctoObjectId> RtId { get; set; }

Property Value​

Nullable<OctoObjectId>

Name​

Free definable for all different identity provider types.

public string Name { get; set; }

Property Value​

String

Description​

An arbitrary long text describing the identity provider configuration in detail.

public string Description { get; set; }

Property Value​

String

AllowSelfRegistration​

Controls whether new users can self-register via this identity provider. When false, only existing users can authenticate.

public bool AllowSelfRegistration { get; set; }

Property Value​

Boolean

DefaultGroupRtId​

Optional RtId of a group to which new users are automatically added on first login.

public string DefaultGroupRtId { get; set; }

Property Value​

String

Constructors​

FacebookIdentityProviderDto()​

public FacebookIdentityProviderDto()