Class NoAuthProvider

java.lang.Object
land.oras.auth.NoAuthProvider
All Implemented Interfaces:
AuthProvider

public final class NoAuthProvider extends Object implements AuthProvider
A provider without any authentication
  • Constructor Details

    • NoAuthProvider

      public NoAuthProvider()
      Constructor
  • Method Details

    • getAuthHeader

      public String getAuthHeader(ContainerRef registry)
      Description copied from interface: AuthProvider
      Get the authentication header for this provider
      Specified by:
      getAuthHeader in interface AuthProvider
      Parameters:
      registry - The registry
      Returns:
      The authentication header or null if not applicable