class OpenID::Server::BaseServerSession

Attributes

session_type[R]

Public Class Methods

new(session_type, allowed_assoc_types) click to toggle 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

allowed_assoc_type?(typ) click to toggle source
# File lib/openid/server.rb, line 165
def allowed_assoc_type?(typ)
  @allowed_assoc_types.member?(typ)
end