Package io.micronaut.security.oauth2
Interface ProviderResolver
- All Known Implementing Classes:
DefaultProviderResolver
public interface ProviderResolver
Resolves the OAuth 2.0 provider that authenticated the logged in user.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionresolveProvider
(Authentication authentication) Resolves the provider.
-
Method Details
-
resolveProvider
Resolves the provider.- Parameters:
authentication
- The authentication- Returns:
- An optional provider name
-