org.kohsuke.github.authorization.AnonymousAuthorizationProvider Maven / Gradle / Ivy
package org.kohsuke.github.authorization;
import java.io.IOException;
/**
* A {@link AuthorizationProvider} that returns an empty authorization.
*
* This will result in the "Authorization" header not being added to a request.
*/
public class AnonymousAuthorizationProvider implements AuthorizationProvider {
@Override
public String getEncodedAuthorization() throws IOException {
return null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy