All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.kiota.authentication.AnonymousAuthenticationProvider Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.microsoft.kiota.authentication;

import com.microsoft.kiota.RequestInformation;

import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

import java.util.Map;

/** This authentication provider does not perform any authentication. */
public class AnonymousAuthenticationProvider implements AuthenticationProvider {
    /** Default constructor for the anonymous authentication provider. */
    public AnonymousAuthenticationProvider() {
        // default constructor
    }

    /** {@inheritDoc} */
    public void authenticateRequest(
            @Nonnull final RequestInformation request,
            @Nullable final Map additionalAuthenticationContext) {
        // This authentication provider does not perform any authentication.
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy