mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Fixes to Auth0 Lock
- Made all LockOptions optional. - Added separate ConstructorOptions - Fixed some method overloads.
This commit is contained in:
1 parent
2faa0bb67a
commit
75e6886882
1 file changed
+3
-3
@@ -1,9 +1,9 @@
|
||||
/// <reference path="../auth0/auth0.d.ts" />
|
||||
/// <reference path="auth0.widget.d.ts" />
|
||||
/// <reference path="auth0.lock.d.ts" />
|
||||
|
||||
var lock: new Auth0Widget('dsa7d77dsa7d7', 'mine.auth0.com');
|
||||
var lock = new Auth0Lock('dsa7d77dsa7d7', 'mine.auth0.com');
|
||||
|
||||
lock.show({
|
||||
lock.showSignin({
|
||||
connections: ['facebook', 'google-oauth2', 'twitter', 'Username-Password-Authentication'],
|
||||
icon: 'https://contoso.com/logo-32.png',
|
||||
socialBigButtons: true
|
||||
|
||||
Reference in new issue
Block a user