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 authentication method for default directory login #296

Merged
merged 3 commits into from
Aug 19, 2019

Conversation

cocojoe
Copy link
Member

@cocojoe cocojoe commented Aug 13, 2019

Changes

Added support for password grant and authentication with default directory

Method Added

func loginDefaultDirectory(withUsername username: String, password: String, audience: String? = nil, scope: String? = nil, parameters: [String: Any]? = nil)

References

ESD-1363

See: https://auth0.com/docs/api/authentication#resource-owner-password

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@cocojoe cocojoe marked this pull request as ready for review August 13, 2019 19:58
@cocojoe cocojoe requested a review from a team August 13, 2019 19:58
@cocojoe cocojoe added this to the vNext milestone Aug 13, 2019
@cocojoe cocojoe merged commit ad494ad into master Aug 19, 2019
@cocojoe cocojoe deleted the added-default-directory-login branch August 19, 2019 10:37
@cocojoe cocojoe mentioned this pull request Aug 27, 2019
sam-w pushed a commit to LoungeBuddy/Auth0.swift that referenced this pull request Mar 11, 2020
* Added loginDefaultDirectory method using password grant
Added tests
sam-w added a commit to LoungeBuddy/Auth0.swift that referenced this pull request Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants