Class AnonymousAuthenticationProvider
java.lang.Object
com.microsoft.kiota.authentication.AnonymousAuthenticationProvider
- All Implemented Interfaces:
AuthenticationProvider
This authentication provider does not perform any authentication.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the anonymous authentication provider. -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticateRequest(RequestInformation request, Map<String, Object> additionalAuthenticationContext) Authenticates the application request.
-
Constructor Details
-
AnonymousAuthenticationProvider
public AnonymousAuthenticationProvider()Default constructor for the anonymous authentication provider.
-
-
Method Details
-
authenticateRequest
public void authenticateRequest(@Nonnull RequestInformation request, @Nullable Map<String, Object> additionalAuthenticationContext) Authenticates the application request.- Specified by:
authenticateRequestin interfaceAuthenticationProvider- Parameters:
request- the request to authenticate.additionalAuthenticationContext- Additional authentication context to pass to the authentication library.
-