Type Alias AuthenticateWithOauth

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

Logging in with an OAuth 2.0 authorization

Type declaration

  • Optionalanswer?: string

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

  • code: string
  • oauth_provider_id: OAuthProviderId
  • Optionalpkce_code_verifier?: string
  • redirect_uri: string
  • Optionalshow_nsfw?: boolean
  • Optionalusername?: string

    Username is mandatory at registration time