Options
All
  • Public
  • Public/Protected
  • All
Menu

Export Actions

Hierarchy

  • OffChainAction
    • OAuthAction

Index

Constructors

  • Constructor needs NetworkType passing as parameter.

    Returns OAuthAction

Properties

authProvider: AuthProvider

AuthProvider provides all methods to handle authentication actions.

cookieProvider: CookieProvider

CookieProvider provides all methods to handle cookie actions.

oauthProvider: OAuthProvider

OAuthProvider provides all methods to handle fetching/patching oauth data.

storageProvider: StorageProvider

Storage provides all methods to handle storage actions.

userProvider: UserProvider

UserProvider provides all methods to handle fetching/patching user data.

Methods

  • getAuthorizerUsers(filters: { limit?: number; searchQuery: string; skip?: number; sort?: string }): Promise<PaginatedResponse<User>>
  • getAuthorizerUsers will retrieve users that authorized current auth client.

    Parameters

    • filters: { limit?: number; searchQuery: string; skip?: number; sort?: string }
      • Optional limit?: number
      • searchQuery: string
      • Optional skip?: number
      • Optional sort?: string

    Returns Promise<PaginatedResponse<User>>

  • getPublicClientInfo returns the public client info.

    Parameters

    • authClientKey: string

    Returns Promise<PublicAuthClientEntity>

  • getUserInfo(userId: string): Promise<User>
  • getUserInfo returns the user info via oauth credential.

    Parameters

    • userId: string

    Returns Promise<User>

  • removeOAuthCredential(): void
  • The function to remove credential

    Returns void

  • The function to modify/delete credential

    Parameters

    Returns void

Generated using TypeDoc