0.0.41 • Published 3 months ago
@types/auth0.widget v0.0.41
Installation
npm install --save @types/auth0.widget
Summary
This package contains type definitions for Auth0Widget.js (http://auth0.com).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auth0.widget.
index.d.ts
// Type definitions for Auth0Widget.js
// Project: http://auth0.com
// Definitions by: Robert McLaws <https://github.com/advancedrei>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.9
/// <reference types="auth0-js" />
interface Auth0WidgetStatic {
new(params: Auth0Constructor): Auth0WidgetStatic;
getClient(): import("auth0-js").Authentication;
getProfile(token: string, callback: Function): import("auth0-js").Auth0UserProfile;
parseHash(hash: string): import("auth0-js").Auth0DecodedHash;
reset(options: Auth0Options, callback?: Function): Auth0WidgetStatic;
signin(options: Auth0Options, widgetLoadedCallback?: Function, popupCallback?: Function): Auth0WidgetStatic;
signup(options: Auth0Options, callback: (error?: import("auth0-js").Auth0Error, profile?: import("auth0-js").Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): Auth0WidgetStatic;
}
type ClientOptions = import("auth0-js").AuthOptions;
interface Auth0Constructor extends ClientOptions {
assetsUrl?: string | undefined;
cdn?: string | undefined;
dict?: any;
}
interface Auth0Options {
access_token?: string | undefined;
connections?: string[] | undefined;
container?: string | undefined;
enableReturnUserExperience?: boolean | undefined;
extraParameters?: any;
icon?: string | undefined;
protocol?: string | undefined;
request_id?: string | undefined;
scope?: string | undefined;
showIcon?: boolean | undefined;
showForgot?: boolean | undefined;
showSignup?: boolean | undefined;
state?: any;
userPwdConnectionName?: string | undefined;
username_style?: string | undefined;
}
declare var Auth0Widget: Auth0WidgetStatic;
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:39 GMT
- Dependencies: @types/auth0-js
- Global values:
Auth0Widget
Credits
These definitions were written by Robert McLaws.
0.0.41
3 months ago
0.0.40
6 months ago
0.0.38
8 months ago
0.0.39
7 months ago
0.0.37
3 years ago
0.0.36
4 years ago
0.0.35
4 years ago
0.0.34
7 years ago
0.0.33
7 years ago
0.0.32
7 years ago
0.0.31
8 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago