NiuAuthClient
Generated from the checked-in source. Do not edit this reference by hand.
Constructor and members
Section titled “Constructor and members”constructor
Section titled “constructor”constructor(options?: NiuAuthOptions);#private
Section titled “#private”#private;getMemberAuthenticationConfiguration
Section titled “getMemberAuthenticationConfiguration”/** Public capability discovery, independent of sign-in success. */getMemberAuthenticationConfiguration(options?: RequestOptions): Promise<{ password_login: boolean; browser_token_login?: boolean;}>;signIn
Section titled “signIn”signIn(input: { email: string; password: string;}, options?: RequestOptions): Promise<MemberSignIn>;signOut
Section titled “signOut”signOut(token: string, options?: RequestOptions): Promise<void>;changePassword
Section titled “changePassword”/** Prove the current password and revoke every own session on success. */changePassword(token: string, input: { current_password: string; password: string;}, options?: RequestOptions): Promise<{ revision: number; sign_in_required: true;}>;