Class OAuth2GuiceModule.DefaultStatelessCheck

    • Method Detail

      • byToken

        public Boolean byToken​(String tokenId)
        Description copied from interface: StatelessCheck
        Interrogates token to ascertain the OAuth2 token is stateless or not
        Specified by:
        byToken in interface StatelessCheck<Boolean>
        Parameters:
        tokenId - The token id
        Returns:
        The result of the check
      • byRealm

        public Boolean byRealm​(String realm)
        Description copied from interface: StatelessCheck
        Checks the OAuth2 token is stateless or not based on the realm
        Specified by:
        byRealm in interface StatelessCheck<Boolean>
        Parameters:
        realm - The realm
        Returns:
        The result of the check