Package io.jmix.restds.impl
Class RestOAuth2ClientAuthenticator
java.lang.Object
io.jmix.restds.impl.RestOAuth2ClientAuthenticator
- All Implemented Interfaces:
RestAuthenticator
A bean of this type is created in autoconfiguration if the spring-security-oauth2-client dependency is present.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.client.ClientHttpRequestInterceptorCreates authentication interceptor to be used byRestInvoker.voidsetDataStoreName(String name) Sets data store name of this authenticator.
-
Constructor Details
-
RestOAuth2ClientAuthenticator
public RestOAuth2ClientAuthenticator()
-
-
Method Details
-
setDataStoreName
Description copied from interface:RestAuthenticatorSets data store name of this authenticator.- Specified by:
setDataStoreNamein interfaceRestAuthenticator
-
getAuthenticationInterceptor
public org.springframework.http.client.ClientHttpRequestInterceptor getAuthenticationInterceptor()Description copied from interface:RestAuthenticatorCreates authentication interceptor to be used byRestInvoker.- Specified by:
getAuthenticationInterceptorin interfaceRestAuthenticator
-