Package land.oras.auth
Class NoAuthProvider
java.lang.Object
land.oras.auth.NoAuthProvider
- All Implemented Interfaces:
AuthProvider
A provider without any authentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuthHeader(ContainerRef registry) Get the authentication header for this providerGet the authentication scheme for this providerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface land.oras.auth.AuthProvider
getIdentity
-
Constructor Details
-
NoAuthProvider
public NoAuthProvider()Constructor
-
-
Method Details
-
getAuthHeader
Description copied from interface:AuthProviderGet the authentication header for this provider- Specified by:
getAuthHeaderin interfaceAuthProvider- Parameters:
registry- The registry- Returns:
- The authentication header or null if not applicable
-
getAuthScheme
Description copied from interface:AuthProviderGet the authentication scheme for this provider- Specified by:
getAuthSchemein interfaceAuthProvider- Returns:
- The authentication scheme
-