Class AuthResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.AuthResource

    public class AuthResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.AuthResource
    • Constructor Detail

      • AuthResourceImpl

        public AuthResourceImpl​(javax.ws.rs.client.WebTarget webTarget,
                                AuthorizationFilter authorizationFilter)
    • Method Detail

      • login

        public String login​(com.artisol.teneo.studio.api.models.Login login)
                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        login in interface com.artisol.teneo.studio.api.resources.AuthResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • logout

        public void logout()
                    throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        logout in interface com.artisol.teneo.studio.api.resources.AuthResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • startDelegatedLogin

        public String startDelegatedLogin​(String token)
                                   throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        startDelegatedLogin in interface com.artisol.teneo.studio.api.resources.AuthResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getDelegatedLoginNotification

        public String getDelegatedLoginNotification​(String token)
                                             throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getDelegatedLoginNotification in interface com.artisol.teneo.studio.api.resources.AuthResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException