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 SummaryModifier and TypeMethodDescription- create- (OAuthSession session) Creates the service with the parameters.
- Method Details- createCreates the service with the parameters.- Parameters:
- session- The OAuthSession instance.
- Returns:
- The new service instance.
- Throws:
- NullPointerException- If the- sessionis- null.
- IllegalStateException- If the authentication engine is not initialized.