Interface TokenService

    • Method Detail

      • get

        Token get​(String tokenId)
        Validates and shows information for a token.
        Parameters:
        tokenId - the identifier of the token that is subject to be checked
        Returns:
        the token if valid
      • check

        ActionResponse check​(String tokenId)
        Validates a token.
        Parameters:
        tokenId - the identifier of the token that is subject to be checked
        Returns:
        the ActionResponse
      • delete

        ActionResponse delete​(String tokenId)
        Revokes a token.
        Parameters:
        tokenId - the identifier of the token that is going to be deleted
        Returns:
        the ActionResponse
      • getServiceCatalog

        List<? extends Service> getServiceCatalog​(String tokenId)
        Get service catalog for specified token
        Parameters:
        tokenId - the identifier of the token, of which the catalog of services is requested
        Returns:
        the service catalog for the token provided in the request
      • getProjectScopes

        List<? extends Project> getProjectScopes​(String tokenId)
        Get available project scopes for specified token
        Parameters:
        tokenId - the identifier of the token in question
        Returns:
        list of projects that are available to be scoped to
      • getDomainScopes

        List<? extends Domain> getDomainScopes​(String tokenId)
        Get available domain scopes for specified token
        Parameters:
        tokenId - the identifier of the token in question
        Returns:
        list of domains that are available to be scoped to