Class: Zitadel::Client::Auth::NoAuthAuthenticator

Inherits:
Authenticator
  • Object
show all
Defined in:
lib/zitadel/client/auth/no_auth_authenticator.rb

Overview

A simple authenticator that performs no authentication.

This authenticator is useful for cases where no token or credentials are required. It simply returns an empty dictionary for authentication headers.

Instance Method Summary collapse

Constructor Details

#initialize(host = 'http://localhost') ⇒ NoAuthAuthenticator

Initializes the NoAuthAuthenticator with a default host.

Parameters:

  • host (String) (defaults to: 'http://localhost')

    the base URL for the service. Defaults to “localhost”.



18
19
20
# File 'lib/zitadel/client/auth/no_auth_authenticator.rb', line 18

def initialize(host = 'http://localhost')
  super
end