Interface AuthProvider

All Known Implementing Classes:
AbstractUsernamePasswordProvider, AuthStoreAuthenticationProvider, BearerTokenProvider, NoAuthProvider, UsernamePasswordProvider

public interface AuthProvider
Interface for auth provider Must return the authentication header to pass to HTTP requests
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Get the authentication header for this provider
  • Method Details

    • getAuthHeader

      @Nullable String getAuthHeader(ContainerRef registry)
      Get the authentication header for this provider
      Parameters:
      registry - The registry
      Returns:
      The authentication header or null if not applicable