Class AnonymousAuthenticationProvider

java.lang.Object
com.microsoft.kiota.authentication.AnonymousAuthenticationProvider
All Implemented Interfaces:
AuthenticationProvider

public class AnonymousAuthenticationProvider extends Object implements AuthenticationProvider
This authentication provider does not perform any authentication.
  • 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:
      authenticateRequest in interface AuthenticationProvider
      Parameters:
      request - the request to authenticate.
      additionalAuthenticationContext - Additional authentication context to pass to the authentication library.