UNPKG

@ivyhjk/amplify-react-oauth

Version:
9 lines 473 B
import { CognitoHostedUIIdentityProvider } from '@aws-amplify/auth'; import { BaseCoreAuthContextValue } from '@ivyhjk/amplify-react-core-auth'; import { CognitoUser } from 'amazon-cognito-identity-js'; export declare type OAuthUser = CognitoUser; export interface OAuthContextValue extends BaseCoreAuthContextValue<OAuthUser> { federatedSignIn: (provider: CognitoHostedUIIdentityProvider) => void; signOut: () => void; } //# sourceMappingURL=types.d.ts.map