Class RestClientCredentialsAuthenticator

java.lang.Object
io.jmix.restds.impl.RestClientCredentialsAuthenticator
All Implemented Interfaces:
RestAuthenticator

@Component("restds_RestClientCredentialsAuthenticator") @Scope("prototype") public class RestClientCredentialsAuthenticator extends Object implements RestAuthenticator
  • Constructor Details

    • RestClientCredentialsAuthenticator

      public RestClientCredentialsAuthenticator()
  • Method Details

    • setDataStoreName

      public void setDataStoreName(String name)
      Description copied from interface: RestAuthenticator
      Sets data store name of this authenticator.
      Specified by:
      setDataStoreName in interface RestAuthenticator
    • getAuthenticationInterceptor

      public org.springframework.http.client.ClientHttpRequestInterceptor getAuthenticationInterceptor()
      Description copied from interface: RestAuthenticator
      Creates authentication interceptor to be used by RestInvoker.
      Specified by:
      getAuthenticationInterceptor in interface RestAuthenticator
    • getAuthenticationToken

      public String getAuthenticationToken()
    • resetAuthToken

      public void resetAuthToken()
    • revokeAuthenticationToken

      public void revokeAuthenticationToken()