lemmy-js-client
    Preparing search index...

    Type Alias AuthenticateWithOauth

    Logging in with an OAuth 2.0 authorization

    type AuthenticateWithOauth = {
        answer?: string;
        code: string;
        oauth_provider_id: OAuthProviderId;
        pkce_code_verifier?: string;
        redirect_uri: string;
        show_nsfw?: boolean;
        username?: string;
    }
    Index

    Properties

    answer?: string

    An answer is mandatory if require application is enabled on the server

    code: string
    oauth_provider_id: OAuthProviderId
    pkce_code_verifier?: string
    redirect_uri: string
    show_nsfw?: boolean
    username?: string

    Username is mandatory at registration time