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

Improving dialog-based acquireToken javadocs #1268

Merged
merged 3 commits into from
Sep 4, 2018
Merged

Improving dialog-based acquireToken javadocs #1268

merged 3 commits into from
Sep 4, 2018

Conversation

danieldobalian
Copy link
Contributor

Issue: #1267

Improving dialog javadocs by explaining usage, limitations (in this case these overloads do not work with brokered flows), and overall improve the diction.

* AUTO.
*
* acquireToken will authorize an end user to call the specified resource.
* The minted access token will be sent to the {@link AuthenticationCallback}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note about clarity: "minted" may confuse users into thinking that our library creates access tokens when, in reality, they are given to us.

How about:

  • "The access token returned from the STS..."
  • "The acquired access token...."
  • "The access token"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call out. Fixed.

* and can be used to call the specified protected resource.
* By default, acquireToken will attempt to fulfill the request silently, and
* perform an interactive login if needed or explicitly specified in
* the request. This overload uses an
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two-spaces after the period in the javadoc. Just a formatting thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad habit :)

Copy link
Member

@iambmelt iambmelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few questions, suggested edits

@iambmelt iambmelt merged commit dfda5e9 into dev Sep 4, 2018
@iambmelt iambmelt deleted the dialog-docs branch September 4, 2018 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants