oak-general-business/es/components/login/oauth/authorize/web.pc.d.ts

24 lines
732 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '../../../../oak-app-domain';
declare const Authorize: (props: WebComponentProps<EntityDict, keyof EntityDict, false, {
loading: boolean;
hasError: boolean;
errorMsg: string;
userInfo: EntityDict['token']['Schema']['user'] | null;
response_type: string;
client_id: string;
redirect_uri: string;
scope: string;
state: string;
clientInfo: EntityDict['oauthApplication']['Schema'] | null;
name: string;
nickname: string;
mobile: string;
avatarUrl: string;
}, {
handleGrant: () => void;
handleDeny: () => void;
}>) => React.JSX.Element;
export default Authorize;