Class: UuOidc::AppSession::InstalledAppClientSession Deprecated

Inherits:
Session
  • Object
show all
Defined in:
lib/uu_oidc/app_session/installed_app_session.rb

Overview

Deprecated.

Use Session

Specialized Session for interative login for installed client applications or Ruby console. It is used internally for Session.loginInteractive().

require 'uu_oidc'

ses = UuOidc::Session.loginInteractive()
puts "Welcome #{ses.identity[:name]}!"

ses = UuOidc::Session.loginInteractive(prompt: 'login') # force login prompt
puts "Welcome #{ses.identity[:name]}!"

Instance Attribute Summary

Attributes inherited from Session

#provider_uri

Method Summary

Methods inherited from Session

#app_identity, #call_token, #client_app_identity, #close, #ensure_login, get_access_token_grant_code_uri, #get_call_token, loginInteractive, #logout, #sid