nylas
    Preparing search index...

    Interface CreateGrantRequest

    Interface representing a request to create a grant.

    interface CreateGrantRequest {
        provider: Provider;
        scope?: string[];
        settings: Record<string, unknown>;
        state?: string;
    }
    Index

    Properties

    provider: Provider

    OAuth provider

    scope?: string[]

    Optional list of scopes to request. If not specified it will use the integration default scopes.

    settings: Record<string, unknown>

    Settings required by provider.

    state?: string

    Optional state value to return to developer's website after authentication flow is completed.