Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

Properties

init: ((config?: TypeInput) => RecipeListFunction) = Recipe.init

Type declaration

    • (config?: TypeInput): RecipeListFunction
    • Parameters

      • Optional config: TypeInput

      Returns RecipeListFunction

Methods

  • createOAuth2Client(input: Partial<Omit<OAuth2ClientOptions, "createdAt" | "updatedAt">>, userContext?: Record<string, any>): Promise<{ client: OAuth2Client; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>
  • Parameters

    • input: Partial<Omit<OAuth2ClientOptions, "createdAt" | "updatedAt">>
    • Optional userContext: Record<string, any>

    Returns Promise<{ client: OAuth2Client; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>

  • createTokenForClientCredentials(clientId: string, clientSecret: string, scope?: string[], audience?: string, userContext?: Record<string, any>): Promise<TokenInfo | ErrorOAuth2>
  • Parameters

    • clientId: string
    • clientSecret: string
    • Optional scope: string[]
    • Optional audience: string
    • Optional userContext: Record<string, any>

    Returns Promise<TokenInfo | ErrorOAuth2>

  • deleteOAuth2Client(input: DeleteOAuth2ClientInput, userContext?: Record<string, any>): Promise<{ status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>
  • Parameters

    • input: DeleteOAuth2ClientInput
    • Optional userContext: Record<string, any>

    Returns Promise<{ status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>

  • getOAuth2Client(clientId: string, userContext?: Record<string, any>): Promise<{ client: OAuth2Client; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>
  • Parameters

    • clientId: string
    • Optional userContext: Record<string, any>

    Returns Promise<{ client: OAuth2Client; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>

  • getOAuth2Clients(input: GetOAuth2ClientsInput, userContext?: Record<string, any>): Promise<{ clients: OAuth2Client[]; nextPaginationToken?: string; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>
  • Parameters

    • input: GetOAuth2ClientsInput
    • Optional userContext: Record<string, any>

    Returns Promise<{ clients: OAuth2Client[]; nextPaginationToken?: string; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>

  • revokeToken(token: string, clientId: string, clientSecret?: string, userContext?: Record<string, any>): Promise<ErrorOAuth2 | { status: "OK" }>
  • Parameters

    • token: string
    • clientId: string
    • Optional clientSecret: string
    • Optional userContext: Record<string, any>

    Returns Promise<ErrorOAuth2 | { status: "OK" }>

  • revokeTokensByClientId(clientId: string, userContext?: Record<string, any>): Promise<{ status: "OK" }>
  • revokeTokensBySessionHandle(sessionHandle: string, userContext?: Record<string, any>): Promise<{ status: "OK" }>
  • updateOAuth2Client(input: UpdateOAuth2ClientInput, userContext?: Record<string, any>): Promise<{ client: OAuth2Client; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>
  • Parameters

    • input: UpdateOAuth2ClientInput
    • Optional userContext: Record<string, any>

    Returns Promise<{ client: OAuth2Client; status: "OK" } | { error: string; errorDescription: string; status: "ERROR" }>

  • validateOAuth2AccessToken(token: string, requirements?: { audience?: string; clientId?: string; scopes?: string[] }, checkDatabase?: boolean, userContext?: Record<string, any>): Promise<{ payload: JSONObject; status: "OK" }>
  • Parameters

    • token: string
    • Optional requirements: { audience?: string; clientId?: string; scopes?: string[] }
      • Optional audience?: string
      • Optional clientId?: string
      • Optional scopes?: string[]
    • Optional checkDatabase: boolean
    • Optional userContext: Record<string, any>

    Returns Promise<{ payload: JSONObject; status: "OK" }>

  • validateOAuth2RefreshToken(token: string, scopes?: string[], userContext?: Record<string, any>): Promise<InstrospectTokenResponse>

Generated using TypeDoc