Podfile
:
pod 'Lock', '~> 2.0'
Then run pod install
.
For more information on Cocoapods, check their official documentation.
Cartfile
:
github "auth0/Lock.swift" ~> 2.0
Then run carthage bootstrap
.
For more information about Carthage usage, check their official documentation.
https://github.com/auth0/Lock.swift.git
Then press Next and complete the remaining steps.
AppDelegate
file.
import lock
plist
file named Auth0.plist
that will include your credentials with the following format.
false
Auth0.Swift
library:
withStyle
. For example, changing the primary color and header text of your Lock widget:
appIdentifier
will be set to the app’s bundle identifier and the displayName
will be set to the app’s display name. You can customize these as follows:
info.plist
: