Class NoAuth

  • All Implemented Interfaces:
    Auth

    public class NoAuth
    extends Object
    implements Auth
    Mechanism to prevent sending Auth header. This is used when authorization is not enabled. Typically only during tests.
    • Constructor Detail

      • NoAuth

        public NoAuth()
    • Method Detail

      • checkKey

        public String checkKey()
        Description copied from interface: Auth
        return authorization token for this auth scheme.
        Specified by:
        checkKey in interface Auth