mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
- Made all LockOptions optional. - Added separate ConstructorOptions - Fixed some method overloads.
14 lines
400 B
TypeScript
14 lines
400 B
TypeScript
/// <reference path="../auth0/auth0.d.ts" />
|
|
/// <reference path="auth0.lock.d.ts" />
|
|
|
|
var lock = new Auth0Lock('dsa7d77dsa7d7', 'mine.auth0.com');
|
|
|
|
lock.showSignin({
|
|
connections: ['facebook', 'google-oauth2', 'twitter', 'Username-Password-Authentication'],
|
|
icon: 'https://contoso.com/logo-32.png',
|
|
socialBigButtons: true
|
|
},
|
|
() => {
|
|
// The Auth0 Widget is now loaded.
|
|
});
|