-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[Identity] add RedirectUri option to InteractiveBrowserCredentialOptions #14720
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| using System; | ||
| using System.Threading; | ||
|
|
||
| namespace Azure.Identity | ||
|
|
@@ -36,6 +37,12 @@ public class InteractiveBrowserCredentialOptions : TokenCredentialOptions, IToke | |
| /// </summary> | ||
| public bool AllowUnencryptedCache { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Uri where the STS will call back the application with the security token. This parameter is not required if the caller is not using a custom <see cref="ClientId"/>. In | ||
| /// the case that the caller is using their own <see cref="ClientId"/> the value must match the redirect url specified when creating the application registration. | ||
| /// </summary> | ||
| public Uri RedirectUri { get; set; } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could see an argument for both sides. I made it null to avoid the allocation but I could make a static readonly to accomplish the same. Currently there are other values which have a default when not set that we don't expose to the user such as
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok |
||
|
|
||
| /// <summary> | ||
| /// The <see cref="Identity.AuthenticationRecord"/> captured from a previous authentication. | ||
| /// </summary> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.