@fgnass/decap-cms-backend-aws-cognito-github-proxy
Version:
GitHub backend for Decap CMS proxied through AWS Cognito
19 lines (18 loc) • 688 B
TypeScript
export default class GenericPKCEAuthenticationPage extends React.Component<any, any, any> {
static propTypes: {
inProgress: PropTypes.Requireable<boolean>;
config: PropTypes.Validator<object>;
onLogin: PropTypes.Validator<(...args: any[]) => any>;
t: PropTypes.Validator<(...args: any[]) => any>;
};
constructor(props: any);
constructor(props: any, context: any);
state: {};
componentDidMount(): void;
auth: PkceAuthenticator | undefined;
handleLogin: (e: any) => void;
render(): React.JSX.Element;
}
import React from 'react';
import { PkceAuthenticator } from 'decap-cms-lib-auth';
import PropTypes from 'prop-types';