Class OnBehalfOfDocumentsApis
java.lang.Object
com.irurueta.authserver.serviceclient.infrastructure.resourceserver.OnBehalfOfDocumentsApis
Builds the documents client of a user: its requests carry the access token that the authorization server issues in
exchange for the user's own token.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DocumentsApisBuilds the documents clients.private final PrincipalMapperBuilds the principals the authorized client manager caches tokens under. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
documentsApis
Builds the documents clients. -
principalMapper
Builds the principals the authorized client manager caches tokens under.
-
-
Constructor Details
-
OnBehalfOfDocumentsApis
public OnBehalfOfDocumentsApis()
-
-
Method Details
-
forSubject
Builds the client of one user.- Parameters:
subjectToken- access token of the user, which is exchanged and never logged.- Returns:
- the documents client.
-