UNPKG

oauth2-server-grant-type-apple

Version:
12 lines (11 loc) 478 B
import { AuthorizationCodeModel, ClientCredentialsModel, RefreshTokenModel, PasswordModel, ExtensionModel, User } from 'oauth2-server'; declare type Oauth2ServerModel = AuthorizationCodeModel | ClientCredentialsModel | RefreshTokenModel | PasswordModel | ExtensionModel; export declare type Model = Oauth2ServerModel & { appleGrantType: { appId: string | string[]; }; getUserWithApple: (opts: { name: string; }) => User; }; export {};