Package io.ryos.rhino.sdk.users.oauth
Class OAuthServiceAuthenticatorImpl
- java.lang.Object
-
- io.ryos.rhino.sdk.users.oauth.OAuthServiceAuthenticatorImpl
-
- All Implemented Interfaces:
Authenticator<OAuthService,OAuthService>
,ServiceAuthenticator
public class OAuthServiceAuthenticatorImpl extends java.lang.Object implements ServiceAuthenticator
-
-
Constructor Summary
Constructors Constructor Description OAuthServiceAuthenticatorImpl(OAuthServiceTokenResponseDeserializer deserializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthService
authenticate(OAuthService service)
Authenticates a service against an authorization server.
-
-
-
Constructor Detail
-
OAuthServiceAuthenticatorImpl
public OAuthServiceAuthenticatorImpl(OAuthServiceTokenResponseDeserializer deserializer)
-
-
Method Detail
-
authenticate
public OAuthService authenticate(OAuthService service)
Description copied from interface:ServiceAuthenticator
Authenticates a service against an authorization server.- Specified by:
authenticate
in interfaceAuthenticator<OAuthService,OAuthService>
- Specified by:
authenticate
in interfaceServiceAuthenticator
- Parameters:
service
- The service to be authenticated.- Returns:
- Authenticated service type.
-
-