Sha256: b17cb7107b19b95355b8f94c9af60968d01b3de7df8389b1bdb4495df75ff6f9
Contents?: true
Size: 616 Bytes
Versions: 1
Compression:
Stored size: 616 Bytes
Contents
# encoding: UTF-8 module Vines class Stream class Server class Auth < Client::Auth RESULT = "result".freeze def initialize(stream, success=FinalRestart) super end def node(node) if dialback_result?(node) # open a new connection and verify the dialback key stream.authoritative_dialback(node) else super end end private def dialback_result?(node) node.name == RESULT && namespace(node) == NAMESPACES[:legacy_dialback] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
diaspora-vines-0.2.0.develop.4 | lib/vines/stream/server/auth.rb |