oauth2-server-grant-type-apple
Version:
Apple grant type for oauth2-server
12 lines (11 loc) • 478 B
TypeScript
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 {};