class OpenID::Server::BaseServerSession
Attributes
Public Class Methods
Source
# File lib/openid/server.rb, line 160 def initialize(session_type, allowed_assoc_types) @session_type = session_type @allowed_assoc_types = allowed_assoc_types.dup.freeze end
Public Instance Methods
Source
# File lib/openid/server.rb, line 165 def allowed_assoc_type?(typ) @allowed_assoc_types.member?(typ) end