nylas
    Preparing search index...

    A collection of authentication related API endpoints

    These endpoints allow for various functionality related to authentication. Also contains the Grants API and collection of provider API endpoints.

    Index

    Constructors

    • Parameters

      • apiClient: APIClient

        client The configured Nylas API client

      Returns Auth

    Properties

    apiClient: APIClient

    Methods

    • Type Parameters

      • T

      Parameters

      • __namedParameters: DestroyParams

      Returns Promise<T>

    • Parameters

      • __namedParameters: FindParams<void>

      Returns Promise<Buffer<ArrayBufferLike>>

    • Parameters

      • __namedParameters: FindParams<void>

      Returns Promise<ReadableStream>

    • Revoke a token (and the grant attached to the token)

      Parameters

      • token: string

        The token to revoke

      Returns Promise<boolean>

      True if the token was revoked successfully