Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SIWA token exchange support #304

Merged
merged 7 commits into from
Sep 19, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting tweaks
  • Loading branch information
cocojoe committed Sep 16, 2019
commit 39abca7c8503320013a17f52662ad80b4849c461
10 changes: 5 additions & 5 deletions Auth0/Authentication.swift
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ public extension Authentication {
func login(usernameOrEmail username: String, password: String, realm: String, audience: String? = nil, scope: String? = nil, parameters: [String: Any]? = nil) -> Request<Credentials, AuthenticationError> {
return self.login(usernameOrEmail: username, password: password, realm: realm, audience: audience, scope: scope, parameters: parameters)
}

/**
Login using username and password in the default directory

Expand Down Expand Up @@ -895,9 +895,9 @@ public extension Authentication {
func renew(withRefreshToken refreshToken: String, scope: String? = nil) -> Request<Credentials, AuthenticationError> {
return self.renew(withRefreshToken: refreshToken, scope: scope)
}

/**
Authenticate a user with their Sign In With Apple information.
Authenticate a user with their Sign In With Apple authorization code.

```
Auth0
Expand All @@ -915,8 +915,8 @@ public extension Authentication {
.start { print($0) }
```

- parameter authCode: Authorization Code retrieved from Apple Authorization
- parameter scope : requested scope value when authenticating the user. By default is 'openid profile offline_access'
- parameter authCode: Authorization Code retrieved from Apple Authorization
- parameter scope: requested scope value when authenticating the user. By default is 'openid profile offline_access'

- returns: a request that will yield Auth0 user's credentials
*/
Expand Down