class AuthingRuby::Authentication::AuthenticationTokenProvider
Public Class Methods
new()
click to toggle source
# File lib/authing_ruby/authentication/AuthenticationTokenProvider.rb, line 9 def initialize() @token = nil @user = nil end
Public Instance Methods
clearUser()
click to toggle source
# File lib/authing_ruby/authentication/AuthenticationTokenProvider.rb, line 35 def clearUser() @token = nil @user = nil end
getToken()
click to toggle source
# File lib/authing_ruby/authentication/AuthenticationTokenProvider.rb, line 20 def getToken() return @token end
getUser()
click to toggle source
# File lib/authing_ruby/authentication/AuthenticationTokenProvider.rb, line 24 def getUser() return @user end
setToken(token = nil)
click to toggle source
# File lib/authing_ruby/authentication/AuthenticationTokenProvider.rb, line 14 def setToken(token = nil) if token @token = token end end
setUser(user = nil)
click to toggle source
# File lib/authing_ruby/authentication/AuthenticationTokenProvider.rb, line 28 def setUser(user = nil) if user @user = user @token = user['token'] end end