@authup/core-kit
Version:
Package containing global constants, types & interfaces.
15 lines • 573 B
TypeScript
import type { IdentityProvider } from '../entity';
import type { IdentityProviderProtocol } from '../constants';
export interface OAuth2IdentityProviderBase {
client_id: string;
client_secret: string;
token_url: string;
token_revoke_url?: string | null;
authorize_url: string;
user_info_url?: string | null;
scope?: string;
}
export interface OAuth2IdentityProvider extends IdentityProvider, OAuth2IdentityProviderBase {
protocol: IdentityProviderProtocol.OAUTH2 | `${IdentityProviderProtocol.OAUTH2}`;
}
//# sourceMappingURL=oauth2.d.ts.map