Class: EME::SSO

Inherits:
Object
  • Object
show all
Extended by:
FastConfig
Defined in:
lib/eme/sso.rb

Defined Under Namespace

Classes: TokenReader

Class Method Summary collapse

Class Method Details

.verify_insecure_sso_token(token) ⇒ Object



18
19
20
# File 'lib/eme/sso.rb', line 18

def self.verify_insecure_sso_token(token)
  auth_request("/sso/ticket/#{token}/verify?tt=sso_insecure", :post)
end

.verify_sso_token(token) ⇒ Object



14
15
16
# File 'lib/eme/sso.rb', line 14

def self.verify_sso_token(token)
  auth_request("/sso/ticket/#{token}/verify", :post)
end

.verify_tera_token(token) ⇒ Object



9
10
11
12
# File 'lib/eme/sso.rb', line 9

def self.verify_tera_token(token)
  return nil if token == nil
  auth_request("/verify_shop_token/#{token}")
end