lemmy-js-client/src/types/AuthenticateWithOauth.ts
Dessalines ba49f4ea72
Adding pkce settings. (#411)
* Adding pkce settings.

* 0.20.0-pkce.1
2024-12-02 17:27:39 -05:00

21 lines
583 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { OAuthProviderId } from "./OAuthProviderId";
/**
* Logging in with an OAuth 2.0 authorization
*/
export type AuthenticateWithOauth = {
code: string;
pkce_code_verifier?: string;
oauth_provider_id: OAuthProviderId;
redirect_uri: string;
show_nsfw?: boolean;
/**
* Username is mandatory at registration time
*/
username?: string;
/**
* An answer is mandatory if require application is enabled on the server
*/
answer?: string;
};