Interface Token

    • Method Detail

      • getId

        String getId()
        Returns:
        the id of the token
      • setId

        void setId​(String id)
        sets the id of the token from response header value
        Parameters:
        id - the token id
      • getCatalog

        List<? extends Service> getCatalog()
        Returns:
        the catalog of the token
      • getExpires

        Date getExpires()
        Returns:
        the timestamp when the token expires
      • getIssuedAt

        Date getIssuedAt()
        Returns:
        the timestamp when the token was issued
      • getProject

        Project getProject()
        Returns:
        the project of the token
      • getDomain

        Domain getDomain()
        Returns:
        the domain of the token
      • getUser

        User getUser()
        Returns:
        the User of the token
      • getCredentials

        AuthStore getCredentials()
        Returns:
        the authentication store
      • getEndpoint

        String getEndpoint()
        Returns:
        the endpoint
      • getRoles

        List<? extends Role> getRoles()
        Returns:
        the list of roles
      • getAuditIds

        List<String> getAuditIds()
        Returns:
        the list of audit identifiers
      • getMethods

        List<String> getMethods()
        Returns:
        the methods of the token
      • getVersion

        AuthVersion getVersion()
        Returns:
        the authentication version
      • getCacheIdentifier

        String getCacheIdentifier()
        Returns:
        the internal UUID used for cache lookups
      • getAggregatedCatalog

        com.google.common.collect.SortedSetMultimap<String,​Service> getAggregatedCatalog()
        A Lazy loading Aggregated Service Catalog Mapping. The key is a stripped version service type or name with a collection of Services sorted by version
        Returns:
        sorted aggregate service catalog