Class AccessTokenServiceImpl

    • Constructor Detail

      • AccessTokenServiceImpl

        public AccessTokenServiceImpl​(AccessTokenLogic logic)
    • Method Detail

      • login

        public javax.ws.rs.core.Response login()
        Description copied from interface: AccessTokenService
        Returns an empty response bearing the X-Syncope-Token header value, in case of successful authentication. The provided value is a signed JSON Web Token.
        Specified by:
        login in interface AccessTokenService
        Returns:
        empty response bearing the X-Syncope-Token header value, in case of successful authentication
      • refresh

        public javax.ws.rs.core.Response refresh()
        Description copied from interface: AccessTokenService
        Returns an empty response bearing the X-Syncope-Token header value, with extended lifetime. The provided value is a signed JSON Web Token.
        Specified by:
        refresh in interface AccessTokenService
        Returns:
        an empty response bearing the X-Syncope-Token header value, with extended lifetime
      • delete

        public void delete​(String key)
        Description copied from interface: AccessTokenService
        Invalidates the access token matching the provided key.
        Specified by:
        delete in interface AccessTokenService
        Parameters:
        key - access token key