docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    CallbackEventHandler
    Focusable
    VisualElement
    IdProviderCustomSettingsElement
    Implements
    IEventHandler
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    IResolvedStyle
    Inherited Members
    VisualElement.disabledUssClassName
    VisualElement.ExecuteDefaultAction(EventBase)
    VisualElement.Focus()
    VisualElement.SendEvent(EventBase)
    VisualElement.SetEnabledFromHierarchy(bool)
    VisualElement.SetEnabled(bool)
    VisualElement.MarkDirtyRepaint()
    VisualElement.ContainsPoint(Vector2)
    VisualElement.Overlaps(Rect)
    VisualElement.DoMeasure(float, VisualElement.MeasureMode, float, VisualElement.MeasureMode)
    VisualElement.ToString()
    VisualElement.GetClasses()
    VisualElement.ClearClassList()
    VisualElement.AddToClassList(string)
    VisualElement.RemoveFromClassList(string)
    VisualElement.ToggleInClassList(string)
    VisualElement.EnableInClassList(string, bool)
    VisualElement.ClassListContains(string)
    VisualElement.FindAncestorUserData()
    VisualElement.Add(VisualElement)
    VisualElement.Insert(int, VisualElement)
    VisualElement.Remove(VisualElement)
    VisualElement.RemoveAt(int)
    VisualElement.Clear()
    VisualElement.ElementAt(int)
    VisualElement.IndexOf(VisualElement)
    VisualElement.Children()
    VisualElement.Sort(Comparison<VisualElement>)
    VisualElement.BringToFront()
    VisualElement.SendToBack()
    VisualElement.PlaceBehind(VisualElement)
    VisualElement.PlaceInFront(VisualElement)
    VisualElement.RemoveFromHierarchy()
    VisualElement.GetFirstOfType<T>()
    VisualElement.GetFirstAncestorOfType<T>()
    VisualElement.Contains(VisualElement)
    VisualElement.FindCommonAncestor(VisualElement)
    VisualElement.viewDataKey
    VisualElement.userData
    VisualElement.canGrabFocus
    VisualElement.focusController
    VisualElement.usageHints
    VisualElement.transform
    VisualElement.layout
    VisualElement.contentRect
    VisualElement.paddingRect
    VisualElement.worldBound
    VisualElement.localBound
    VisualElement.worldTransform
    VisualElement.pickingMode
    VisualElement.name
    VisualElement.enabledInHierarchy
    VisualElement.enabledSelf
    VisualElement.visible
    VisualElement.generateVisualContent
    VisualElement.experimental
    VisualElement.hierarchy
    VisualElement.cacheAsBitmap
    VisualElement.parent
    VisualElement.panel
    VisualElement.contentContainer
    VisualElement.this[int]
    VisualElement.childCount
    VisualElement.schedule
    VisualElement.style
    VisualElement.customStyle
    VisualElement.styleSheets
    VisualElement.tooltip
    VisualElement.resolvedStyle
    Focusable.Blur()
    Focusable.focusable
    Focusable.tabIndex
    Focusable.delegatesFocus
    CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
    CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
    CallbackEventHandler.HandleEvent(EventBase)
    CallbackEventHandler.HasTrickleDownHandlers()
    CallbackEventHandler.HasBubbleUpHandlers()
    CallbackEventHandler.ExecuteDefaultActionAtTarget(EventBase)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Authentication.Editor
    Assembly: Unity.Services.Authentication.Editor.dll
    Syntax
    public abstract class IdProviderCustomSettingsElement : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle

    Constructors

    IdProviderCustomSettingsElement(Func<string>)

    The constructor of the IdProviderCustomSettingsElement.

    Declaration
    protected IdProviderCustomSettingsElement(Func<string> gatewayTokenCallback)
    Parameters
    Type Name Description
    Func<string> gatewayTokenCallback

    The callback action to get the service gateway token. It makes sure the token is up to date.

    Fields

    m_GatewayTokenCallback

    The callback to get the service gateway token

    Declaration
    protected Func<string> m_GatewayTokenCallback
    Field Value
    Type Description
    Func<string>

    Properties

    GatewayToken

    The property to get a service gateway token.

    Declaration
    public string GatewayToken { get; }
    Property Value
    Type Description
    string

    Methods

    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.

    Declaration
    public abstract void Refresh()

    Events

    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.

    Declaration
    public abstract event Action<IdProviderCustomSettingsElement, Exception> Error
    Event Type
    Type Description
    Action<IdProviderCustomSettingsElement, Exception>

    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.

    Declaration
    public abstract event Action<IdProviderCustomSettingsElement, bool> Waiting
    Event Type
    Type Description
    Action<IdProviderCustomSettingsElement, bool>

    Implements

    IEventHandler
    ITransform
    ITransitionAnimations
    IExperimentalFeatures
    IVisualElementScheduler
    IResolvedStyle
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)