mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #335] [MERGED] Make requestOAuthAccessToken open #605
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#605
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/335
Author: @wesley-dynamicowl
Created: 2/10/2017
Status: ✅ Merged
Merged: 2/14/2017
Merged by: @phimage
Base:
master← Head:patch-1📝 Commits (2)
ed6cf96Make requestOAuthAccesToken open6c329a7Addparametersparameter to renewAccessToken📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
Sources/OAuth2Swift.swift(+2 -2)📄 Description
We have an interesting use case with Microsoft's OAuth (Azure AD, Graph API, Outlook API, etc)
Oauth tokens are scoped to a single resource. However, Microsoft allows refresh tokens to be used to request additional tokens for other resources. The easiest way to do this is to call requestOAuthAccessToken for each additional resource we intend to use with the additional resource parameters we need to specify.
Opening requestOAuthAccessToken makes it much simpler for us to request additional access tokens.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.