Class OAuth2BasedMQTTAuthenticator
java.lang.Object
org.wso2.carbon.andes.authentication.andes.OAuth2BasedMQTTAuthenticator
- All Implemented Interfaces:
org.dna.mqtt.moquette.server.IAuthenticator
public class OAuth2BasedMQTTAuthenticator
extends Object
implements org.dna.mqtt.moquette.server.IAuthenticator
Authenticates token with OAuthValidationService. Intended usage is
via providing fully qualified class name
in broker.xml
-
Constructor Summary
ConstructorsConstructorDescriptionInitialize the OAUTH2ValidationStubFactory to communicate with the OAuth2TokenValidationService -
Method Summary
Modifier and TypeMethodDescriptionorg.dna.mqtt.moquette.server.AuthenticationInfocheckValid(String token, String unusedParameter) Authenticates the user against carbon user store.
-
Constructor Details
-
OAuth2BasedMQTTAuthenticator
public OAuth2BasedMQTTAuthenticator()Initialize the OAUTH2ValidationStubFactory to communicate with the OAuth2TokenValidationService
-
-
Method Details