File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/main/java/com/microsoft/aad/msal4j Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11
11
class ClientCredentialRequest extends MsalRequest {
12
12
13
13
ClientCredentialParameters parameters ;
14
+ /** AppTokenProvider creates a Credential from a function that provides access tokens. The function
15
+ must be concurrency safe. This is intended only to allow the Azure SDK to cache MSI tokens. It isn't
16
+ useful to applications in general because the token provider must implement all authentication logic. */
14
17
Function <AppTokenProviderParameters , CompletableFuture <TokenProviderResult >> appTokenProvider ;
15
18
16
19
ClientCredentialRequest (ClientCredentialParameters parameters ,
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ public class ConfidentialClientApplication extends AbstractClientApplicationBase
34
34
private boolean clientCertAuthentication = false ;
35
35
private ClientCertificate clientCertificate ;
36
36
37
+ /** AppTokenProvider creates a Credential from a function that provides access tokens. The function
38
+ must be concurrency safe. This is intended only to allow the Azure SDK to cache MSI tokens. It isn't
39
+ useful to applications in general because the token provider must implement all authentication logic. */
37
40
public Function <AppTokenProviderParameters , CompletableFuture <TokenProviderResult >> appTokenProvider ;
38
41
39
42
@ Accessors (fluent = true )
You can’t perform that action at this time.
0 commit comments