Module: Keratin

Defined in:
lib/keratin/authn/version.rb,
lib/keratin/authn.rb,
lib/keratin/client.rb

Overview

rubocop:disable Style/ClassAndModuleChildren

Defined Under Namespace

Modules: AuthN Classes: Client, ClientError, Error, ServiceError, ServiceResult

Class Method Summary collapse

Class Method Details

.authnObject



12
13
14
15
16
17
18
# File 'lib/keratin/authn.rb', line 12

def self.authn
  @authn ||= AuthN::API.new(
    AuthN.config.authn_url || AuthN.config.issuer,
    username: AuthN.config.username,
    password: AuthN.config.password
  )
end