opds-web-client
Version:
16 lines (15 loc) • 588 B
TypeScript
import * as React from "react";
import { BasicAuthMethod } from "../interfaces";
import { AuthFormProps } from "./AuthProviderSelectionForm";
export interface BasicAuthFormProps extends AuthFormProps<BasicAuthMethod> {
}
export default class BasicAuthForm extends React.Component<BasicAuthFormProps, any> {
constructor(props: any);
render(): JSX.Element;
componentWillReceiveProps(nextProps: any): void;
loginLabel(): string;
passwordLabel(): string;
validate(): boolean;
submit(event: any): void;
generateCredentials(login: any, password: any): string;
}