WAX Unity Web3 Suite
AuthenticatorLibrary
AuthenticatorLibrary
  • Getting Started
  • Installation
    • WebGL Insatallation
  • Examples
    • Getting Started
      • Canvas Example
      • UIToolkit Example
    • User Data
    • Token Transfer
    • Transact
  • API Docs
    • Canvas
      • UnityCanvasUAL
    • UiToolkit
      • UnityUiToolkitUAL
      • AuthenticatorButtonItem
      • AuthenticatorsPanel
      • BasicControl
      • ScreenBase
      • Utils
    • Authenticators
      • Anchor
        • AnchorAuthenticator
        • AnchorUser
        • AnchorWalletConfig
      • WaxCloudWallet
        • WaxCloudWalletAuthenticator
        • WaxCloudWalletConfig
        • WaxCloudWalletUser
    • Authenticator
    • User
    • AuthenticatorResponse
    • ButtonStyle
    • Chain
    • Utils
    • RpcEndpoint
    • SignTransactionResponse
    • UALOptions
    • UalConstants
    • UalError
    • UnityUAL
Powered by GitBook
On this page
  • Summary
  • Members
Edit on GitHub
  1. API Docs

Authenticator

PreviousWaxCloudWalletUserNextUser

Last updated 2 years ago

class UniversalAuthenticatorLibrary::Authenticator
  : public MonoBehaviour

Summary

Members
Descriptions

Returns the style of the Button that will be rendered.

Returns whether or not the dapp should attempt to auto login with the Authenticator app. Auto login will only occur when there is only one Authenticator that returns shouldRender() true and shouldAutoLogin() true.

Returns the amount of seconds after the authentication will be invalid for logging in on new browser sessions. Setting this value to zero will cause users to re-attempt authentication on every new browser session. Please note that the invalidate time will be saved client-side and should not be relied on for security.

**

Logs the user out of the dapp. This will be strongly dependent on each Authenticator app's patterns.

Default value for shouldInvalidateAfter(), 1 week in seconds

Members

public ( chain, options)

public virtual void ( chain, options)

Returns the style of the Button that will be rendered.

Returns whether or not the dapp should attempt to auto login with the Authenticator app. Auto login will only occur when there is only one Authenticator that returns shouldRender() true and shouldAutoLogin() true.

Returns the amount of seconds after the authentication will be invalid for logging in on new browser sessions. Setting this value to zero will cause users to re-attempt authentication on every new browser session. Please note that the invalidate time will be saved client-side and should not be relied on for security.

**

Logs the user out of the dapp. This will be strongly dependent on each Authenticator app's patterns.

Default value for shouldInvalidateAfter(), 1 week in seconds

public ( chain, options)

public virtual void ( chain, options)

public ()

public virtual bool ()

public virtual bool ()

public uint ()

public virtual Task< > (string accountName)

public virtual Task ()

private uint = 604800

private

private

private

public ()

public virtual bool ()

public virtual bool ()

public uint ()

public virtual Task< > (string accountName)

public virtual Task ()

private uint = 604800

private

private

private

Chain
UALOptions
Chain
UALOptions
Authenticator
Init
ButtonStyle
GetStyle
ShouldRender
ShouldAutoLogin
ShouldInvalidateAfter
User
Login
Logout
defaultInvalidateAfter
ButtonStyle
ButtonStyle
Chain
Chain
UALOptions
Options
Chain
UALOptions
Authenticator
Chain
UALOptions
Init
ButtonStyle
GetStyle
ShouldRender
ShouldAutoLogin
ShouldInvalidateAfter
User
Login
Logout
defaultInvalidateAfter
ButtonStyle
ButtonStyle
Chain
Chain
UALOptions
Options