UnityUAL
Summary
public bool
IsAutologin
public
Authenticator
ActiveAuthenticator
public
UALOptions
UalOptions
public List<
Authenticator
>
Authenticators
public
UnityUAL
(
Chain
chain,
UALOptions
ualOptions, List<
Authenticator
> authenticators)
#### Parameters
public
AuthenticatorResponse
GetAuthenticators
()
Returns an object with a list of initialized Authenticators that returned true for shouldRender() as well as an authenticator that supports autoLogin
public async Task
Init
()
Initializes UAL: If a renderConfig was provided and no autologin authenticator is returned it will render the Auth Button and relevant DOM elements.
protected abstract void
CreateUalPanel
(
Authenticator
authenticators)
private async Task
AttemptSessionLogin
(
Authenticator
availableAuthenticators)
private void
ClearStorageKeys
()
Members
public bool
IsAutologin
public
Authenticator
ActiveAuthenticator
public
UALOptions
UalOptions
public List<
Authenticator
>
Authenticators
public
Action](#_example_main_view_8cs_1a24e91c56095a0673d92c6eac6e069a3c)< [User
>
OnUserLogin
public
UnityUAL
(
Chain
chain,
UALOptions
ualOptions, List<
Authenticator
> authenticators)
Parameters
chains
A list of chains the dapp supports.appName
The name of the app using the authenticatorsauthenticators
A list of authenticator apps that the dapp supports.
public
AuthenticatorResponse
GetAuthenticators
()
Returns an object with a list of initialized Authenticators that returned true for shouldRender() as well as an authenticator that supports autoLogin
public async Task
Init
()
Initializes UAL: If a renderConfig was provided and no autologin authenticator is returned it will render the Auth Button and relevant DOM elements.
protected abstract void
CreateUalPanel
(
Authenticator
authenticators)
private async Task
AttemptSessionLogin
(
Authenticator
availableAuthenticators)
private void
ClearStorageKeys
()
Last updated