Class: Svix::AuthenticationAPI

Inherits:
Object
  • Object
show all
Defined in:
lib/svix/authentication_api.rb

Instance Method Summary collapse

Constructor Details

#initialize(api_client) ⇒ AuthenticationAPI

Returns a new instance of AuthenticationAPI.



5
6
7
# File 'lib/svix/authentication_api.rb', line 5

def initialize(api_client)
  @api = AuthenticationApi.new(api_client)
end

Instance Method Details

#app_portal_access(app_id, app_portal_access_in, options = {}) ⇒ Object



9
10
11
# File 'lib/svix/authentication_api.rb', line 9

def app_portal_access(app_id, app_portal_access_in, options = {})
  return @api.v1_authentication_app_portal_access(app_id, app_portal_access_in, options)
end

#dashboard_access(app_id, options = {}) ⇒ Object



13
14
15
# File 'lib/svix/authentication_api.rb', line 13

def dashboard_access(app_id, options = {})
  return @api.v1_authentication_dashboard_access(app_id, options)
end

#logout(options = {}) ⇒ Object



17
18
19
# File 'lib/svix/authentication_api.rb', line 17

def logout(options = {})
  return @api.v1_authentication_logout(options)
end