-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
64 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github "auth0/Auth0.swift" ~> 1.1 | ||
github "auth0/Auth0.swift" ~> 1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# version = `agvtool mvers -terse1`.strip | ||
version = '2.0.0-rc.2' | ||
version = `agvtool mvers -terse1`.strip | ||
Pod::Spec.new do |s| | ||
s.name = "Lock" | ||
s.version = version | ||
|
@@ -9,18 +8,18 @@ Pod::Spec.new do |s| | |
Auth0 is a SaaS that helps you with Authentication and Authorization. You can use Social Providers (Like Facebook, Google, Twitter, etc.), Enterprise Providers (Active Directory, LDap, Windows Azure AD, SAML, etc.) and a Username/Password store which can be saved either by us or by you. We have SDKs for the most common platforms (Ruby, Node, iOS, Angular, etc.) so that with a couple lines of code, you can get the Authentication for your app implemented. Let us worry about Authentication so that you can focus on the core of your business. | ||
DESC | ||
s.homepage = "https://github.com/auth0/Lock.iOS-OSX" | ||
s.homepage = "https://github.com/auth0/Lock.swift" | ||
s.license = 'MIT' | ||
s.authors = { "Auth0" => "[email protected]" }, { "Hernan Zalazar" => "[email protected]" } | ||
s.source = { :git => "https://github.com/auth0/Lock.iOS-OSX.git", :tag => s.version.to_s } | ||
s.authors = { "Auth0" => "[email protected]" }, { "Hernan Zalazar" => "[email protected]" }, { "Martin Walsh" => "[email protected]" } | ||
s.source = { :git => "https://github.com/auth0/Lock.swift.git", :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/auth0' | ||
|
||
s.ios.deployment_target = "9.0" | ||
|
||
s.requires_arc = true | ||
|
||
|
||
s.dependency 'Auth0', '~> 1.1' | ||
s.dependency 'Auth0', '~> 1.2' | ||
s.default_subspecs = 'Classic' | ||
|
||
s.subspec 'Classic' do |classic| | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ Lock makes it easy to integrate SSO in your app. You won't have to worry about: | |
* Solving the home realm discovery challenge with enterprise users (i.e.: asking the enterprise user the email, and redirecting to the right enterprise identity provider). | ||
* Implementing a standard sign in protocol (OpenID Connect / OAuth2 Login) | ||
|
||
Need help migrating from v1? Please check our [Migration Guide](MIGRATION.md) | ||
|
||
## Requirements | ||
|
||
- iOS 9 or later | ||
|
@@ -274,17 +276,19 @@ When signing up the default information requirements are the user's *email* and | |
} | ||
``` | ||
|
||
*Note: You must specify the icon to use with your custom text field.* | ||
*Note: You must specify the icon to use with your custom text field and store it in your App's bundle.* | ||
|
||
#### Enterprise | ||
|
||
* *enterpriseConnectionUsingActiveAuth*: By default Enterprise connections will use Web Authentication. However you can specify which connections will alternatively use credential authentication and prompt for a username and password. | ||
* *activeDirectoryEmailAsUsername*: When in credential authentication mode, should the user require their email as an identifier. The default is `false`, use **Username**. | ||
* *activeDirectoryEmailAsUsername*: When Lock request your enterprise credentials after performing Home Realm Discovery (HRD), e.g. for Active Directory, it will try to prefill the username for you. By default it will parse the email's local part and use that as the username, e.g. `[email protected]` will be `john.doe`. If you don't want that you can turn on this flag and it will just use the email address. | ||
|
||
```swift | ||
.withOptions { | ||
$0.activeDirectoryEmailAsUsername = true | ||
$0.enterpriseConnectionUsingActiveAuth = ["enterprisedomain.com"] | ||
} | ||
``` | ||
|
||
## What is Auth0? | ||
|
||
|