SymbIoTeLibraries
Public Member Functions | List of all members
eu.h2020.symbiote.client.interfaces.CRAMClient Interface Reference
Inheritance diagram for eu.h2020.symbiote.client.interfaces.CRAMClient:
Inheritance graph
Collaboration diagram for eu.h2020.symbiote.client.interfaces.CRAMClient:
Collaboration graph

Public Member Functions

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)
 

Detailed Description

Interface for querying the Core Resource Access Manager (CRAM) component

Author
Vasilis Glykantzis

Member Function Documentation

◆ getResourceUrl() [1/2]

ResourceUrlsResponse eu.h2020.symbiote.client.interfaces.CRAMClient.getResourceUrl ( String  resourceId,
boolean  serverValidation,
Set< String >  homePlatformIds 
)

Queries CRAM with home token for getting the url of a single resource

Parameters
resourceIdthe id of the resource
serverValidationif true it will validate CRAM
homePlatformIdsa set of home platform ids from which we are going to get credentials for the request
Returns
the CRAM response

Implemented in eu.h2020.symbiote.client.feign.FeignCRAMClient.

◆ getResourceUrl() [2/2]

ResourceUrlsResponse eu.h2020.symbiote.client.interfaces.CRAMClient.getResourceUrl ( Set< String >  resourceIds,
boolean  serverValidation,
Set< String >  homePlatformIds 
)

Queries CRAM with home token for getting the urls of a list of resources

Parameters
resourceIdsa list containing the ids of the resources
serverValidationif true it will validate CRAM
homePlatformIdsa set of home platform ids from which we are going to get credentials for the request
Returns
the CRAM response

Implemented in eu.h2020.symbiote.client.feign.FeignCRAMClient.

◆ getResourceUrlAsGuest() [1/2]

ResourceUrlsResponse eu.h2020.symbiote.client.interfaces.CRAMClient.getResourceUrlAsGuest ( String  resourceId,
boolean  serverValidation 
)

Queries CRAM with guest token for getting the url of a single resource

Parameters
resourceIdthe id of the resource
serverValidationif true it will validate CRAM
Returns
the CRAM response

Implemented in eu.h2020.symbiote.client.feign.FeignCRAMClient.

◆ getResourceUrlAsGuest() [2/2]

ResourceUrlsResponse eu.h2020.symbiote.client.interfaces.CRAMClient.getResourceUrlAsGuest ( Set< String >  resourceIds,
boolean  serverValidation 
)

Queries CRAM with guest token for getting the urls of a list of resources

Parameters
resourceIdsa list containing the ids of the resources
serverValidationif true it will validate CRAM
Returns
the CRAM response

Implemented in eu.h2020.symbiote.client.feign.FeignCRAMClient.


The documentation for this interface was generated from the following file: