Class IdProviderOptions
The metadata about an ID provider that is used to render the settings UI.
Namespace: Unity.Services.Authentication.Editor
Syntax
public class IdProviderOptions : object
Properties
ClientIdDisplayName
The display name of the Client ID field. In some ID providers it can be named differently, like "App ID".
Declaration
public string ClientIdDisplayName { get; set; }
Property Value
Type | Description |
---|---|
String |
ClientSecretDisplayName
The display name of the Client Secret field. In some ID providers it can be named differently, like "App Secret".
Declaration
public string ClientSecretDisplayName { get; set; }
Property Value
Type | Description |
---|---|
String |
CustomSettingsElementCreator
The delegate to create custom settings UI element for the ID provider. If provided, the element is appended to the IdProviderElement.
Declaration
public IdProviderOptions.CreateCustomSettingsElementDelegate CustomSettingsElementCreator { get; set; }
Property Value
Type | Description |
---|---|
IdProviderOptions.CreateCustomSettingsElementDelegate |
DisplayName
The display name of the ID provider.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
String |
IdProviderType
The type of the ID provider. This is the type string that is accepted by ID Provider admin API.
Declaration
public string IdProviderType { get; set; }
Property Value
Type | Description |
---|---|
String |
NeedClientSecret
Whether the client secret is needed in the target ID provider.
Declaration
public bool NeedClientSecret { get; set; }
Property Value
Type | Description |
---|---|
Boolean |