Class IdProviderCustomSettingsElement
The ID provider additional custom settings element. The UI element renders after the ID Provider Element's Save/Cancel/Delete buttons. It's only enabled after the ID provider is saved, and allows additional settings to be saved separately. It must implement several events in order for the IdProviderElement to hook up and update status.
Implements
Inherited Members
Namespace: Unity.Services.Authentication.Editor
Assembly: solution.dll
Syntax
public abstract class IdProviderCustomSettingsElement : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
Name | Description |
---|---|
IdProviderCustomSettingsElement(Func<string>) | The constructor of the IdProviderCustomSettingsElement. |
Fields
Name | Description |
---|---|
m_GatewayTokenCallback | The callback to get the service gateway token |
Properties
Name | Description |
---|---|
GatewayToken | The property to get a service gateway token. |
Methods
Name | Description |
---|---|
Refresh() | The method for the custom settings section to refresh itself from the server side. This is called when creating IdProviders that are already created on the server side or when there is any status change on the ID provider. |
Events
Name | Description |
---|---|
Error | Event triggered when the current IdProviderCustomSettingsElement catches an error. The first parameter of the callback is the sender. The second parameter is the exception caught by the element. |
Waiting | Event triggered when the IdProviderCustomSettingsElement starts or finishes waiting for a task. The first parameter of the callback is the sender. The second parameter is true if it starts waiting, and false if it finishes waiting. |