Conversation
|
|
||
| /** | ||
| * Representation of a single user account. If modifying this object, ensure it is compliant with | ||
| * cache persistent model |
There was a problem hiding this comment.
should this be in the public docs? That seems like an internal comment?
| import java.util.List; | ||
|
|
||
| /** | ||
| * Representation of application metadata. |
There was a problem hiding this comment.
Representation of [](start = 3, length = 18)
Generally not sure this makes a lot of sense. What is this metadata about?
There was a problem hiding this comment.
Just has foci status. Not a public API, so removing java doc comment.
|
|
||
| /** | ||
| * Class to be used to acquire tokens for confidential client applications (Web Apps, Web APIs, | ||
| * and daemon applications). |
There was a problem hiding this comment.
should have an aka.ms link that points to the wiki or public docs describing the confidential client
There was a problem hiding this comment.
Added links to the Java wiki in both PCA and CCA files.
|
JM, would be great to get your comments on this |
|
@sangonzal @henrik-me : I'll have a look at it, but I don't want to be the limiting factor. |
@jmprieur That works for me, Jean-marc. I will merge these changes in for now, and we can continue to improve the java docs incrementally. |
|
|
||
| /** | ||
| * @return user code. | ||
| * code which user needs to provide when authenticating at he verification URI |
| * Token and the Access Token's expiration time. Refresh Token | ||
| * property will be null for this overload. | ||
| * Acquires tokens from the authority configured in the application, for the confidential client | ||
| * itself (in the name of no user) |
There was a problem hiding this comment.
"in the name of no user" sounds weird ... like it was said by Master Yoda from Start Wars ))
|
|
||
| /** | ||
| * Contains parameters used by the MSAL to access the cache_data. | ||
| * Interface representing state of token cache |
There was a problem hiding this comment.
not sure about "state of the cache" - more like context of accessing cache
| package com.microsoft.aad.msal4j; | ||
|
|
||
| /** | ||
| * Interface representing user credential used by downstream application in On-Behalf-Of flow |
There was a problem hiding this comment.
I would describe it as - Interface representing delegated user identity and permissions used to propagate it through the request chain in On-Behalf-Of flow.
| import lombok.experimental.Accessors; | ||
|
|
||
| /** | ||
| * State of token cache |
There was a problem hiding this comment.
not sure about "state", more access context
|
|
||
| /*** | ||
| * Credential type containing an assertion representing user credential. | ||
| * Credential type containing an assertion representing user credential. Used as a parameter in |
There was a problem hiding this comment.
same comment as for interface
Updating reference documentation