Worldline Acquiring Node.js SDK
    Preparing search index...

    Interface OAuth2Scopes

    interface OAuth2Scopes {
        all(): string[];
        forApiVersion(apiVersion: string): string[];
        forOperation(apiVersion: string, operationId: string): string[];
        forOperations(apiVersion: string, ...operationIds: string[]): string[];
        forOperations(
            filter: (apiVersion: string, operationId: string) => boolean,
        ): string[];
    }
    Index
    • Returns string[]

      all available scopes.

    • Returns all scopes needed for all operations of the given API version.

      Parameters

      • apiVersion: string

      Returns string[]

    • Returns all scopes needed for the given operation of the given API version.

      Parameters

      • apiVersion: string
      • operationId: string

      Returns string[]

    • Returns all scopes needed for the given operations of the given API version.

      Parameters

      • apiVersion: string
      • ...operationIds: string[]

      Returns string[]

    • Returns all scopes needed for the operations that pass the given filter.

      Parameters

      • filter: (apiVersion: string, operationId: string) => boolean

      Returns string[]