module Idnow::API::Authentication
Public Instance Methods
login()
click to toggle source
# File lib/idnow/API/authentication.rb, line 6 def login path = full_path_for('login') login_data = Idnow::LoginData.new(@api_key) request = Idnow::PostJsonRequest.new(path, login_data) response = execute(request) @auth_token = Idnow::Login.new(response.data).auth_token end