Package com.iizix.server.oauth.services
Interface IServiceCreator<SERVICE extends AbstractOAuthService>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface used to create the actual instance of the authentication service.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptioncreate
(OAuthSession session) Creates the service with the parameters.
Method Details
create
Creates the service with the parameters.- Parameters:
session
- The OAuthSession instance.- Returns:
- The new service instance.
- Throws:
NullPointerException
- If thesession
isnull
.IllegalStateException
- If the authentication engine is not initialized.