Class RestDocumentGateway
java.lang.Object
com.irurueta.authserver.serviceclient.infrastructure.resourceserver.RestDocumentGateway
- All Implemented Interfaces:
DocumentGateway
Documents of the resource server read with the service client's own token (client credentials grant).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DocumentCallsTranslates the answers and failures.private final DocumentsApiDocuments client whose requests carry the client credentials token. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLists the documents the service client may see.
-
Field Details
-
documentsApi
Documents client whose requests carry the client credentials token. -
documentCalls
Translates the answers and failures.
-
-
Constructor Details
-
RestDocumentGateway
public RestDocumentGateway()
-
-
Method Details
-
listDocuments
Description copied from interface:DocumentGatewayLists the documents the service client may see.- Specified by:
listDocumentsin interfaceDocumentGateway- Returns:
- the documents, empty when there are none.
-