Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IOAuthAppsModify

Index

Methods

createOAuthApp

  • createOAuthApp(OAuthApp: Pick<IOAuthApp, "name" | "active" | "clientId" | "clientSecret" | "redirectUri">, appId: string): Promise<string>
  • Create an OAuthApp

    Parameters

    • OAuthApp: Pick<IOAuthApp, "name" | "active" | "clientId" | "clientSecret" | "redirectUri">

      the OAuth app to create, in case the clientId and the clientSecret is not sent it will generate automatically

    • appId: string

      the app id

    Returns Promise<string>

deleteOAuthApp

  • deleteOAuthApp(id: string, appId: string): Promise<void>

updateOAuthApp

  • updateOAuthApp(OAuthApp: Pick<IOAuthApp, "name" | "active" | "clientId" | "clientSecret" | "redirectUri">, id: string, appId: string): Promise<void>
  • Update the OAuth app info

    Parameters

    • OAuthApp: Pick<IOAuthApp, "name" | "active" | "clientId" | "clientSecret" | "redirectUri">

      OAuth data that will be updated

    • id: string

      OAuth app id

    • appId: string

      the app id

    Returns Promise<void>

Generated using TypeDoc