|
SymbIoTeLibraries
|


Public Member Functions | |
| FeignCRAMClient (ISecurityHandler securityHandler, String coreAddress) | |
| ResourceUrlsResponse | getResourceUrl (String resourceId, boolean serverValidation, Set< String > homePlatformIds) |
| ResourceUrlsResponse | getResourceUrl (Set< String > resourceIds, boolean serverValidation, Set< String > homePlatformIds) |
| ResourceUrlsResponse | getResourceUrlAsGuest (String resourceId, boolean serverValidation) |
| ResourceUrlsResponse | getResourceUrlAsGuest (Set< String > resourceIds, boolean serverValidation) |
symbIoTe Core Resource Access Manager client based on Feign
| eu.h2020.symbiote.client.feign.FeignCRAMClient.FeignCRAMClient | ( | ISecurityHandler | securityHandler, |
| String | coreAddress | ||
| ) |
| securityHandler | the security handler implementation that is going to be used |
| coreAddress | the base address of the symbIoTe core |
| ResourceUrlsResponse eu.h2020.symbiote.client.feign.FeignCRAMClient.getResourceUrl | ( | String | resourceId, |
| boolean | serverValidation, | ||
| Set< String > | homePlatformIds | ||
| ) |
Queries CRAM with home token for getting the url of a single resource
| resourceId | the id of the resource |
| serverValidation | if true it will validate CRAM |
| homePlatformIds | a set of home platform ids from which we are going to get credentials for the request |
Implements eu.h2020.symbiote.client.interfaces.CRAMClient.
| ResourceUrlsResponse eu.h2020.symbiote.client.feign.FeignCRAMClient.getResourceUrl | ( | Set< String > | resourceIds, |
| boolean | serverValidation, | ||
| Set< String > | homePlatformIds | ||
| ) |
Queries CRAM with home token for getting the urls of a list of resources
| resourceIds | a list containing the ids of the resources |
| serverValidation | if true it will validate CRAM |
| homePlatformIds | a set of home platform ids from which we are going to get credentials for the request |
Implements eu.h2020.symbiote.client.interfaces.CRAMClient.
| ResourceUrlsResponse eu.h2020.symbiote.client.feign.FeignCRAMClient.getResourceUrlAsGuest | ( | String | resourceId, |
| boolean | serverValidation | ||
| ) |
Queries CRAM with guest token for getting the url of a single resource
| resourceId | the id of the resource |
| serverValidation | if true it will validate CRAM |
Implements eu.h2020.symbiote.client.interfaces.CRAMClient.
| ResourceUrlsResponse eu.h2020.symbiote.client.feign.FeignCRAMClient.getResourceUrlAsGuest | ( | Set< String > | resourceIds, |
| boolean | serverValidation | ||
| ) |
Queries CRAM with guest token for getting the urls of a list of resources
| resourceIds | a list containing the ids of the resources |
| serverValidation | if true it will validate CRAM |
Implements eu.h2020.symbiote.client.interfaces.CRAMClient.
1.8.14