Skip to content

pyu10055/ruby-sasl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 8 commits ahead, 1 commit behind astro:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 

Simple Authentication and Security Layer (RFC 4422) for Ruby

Goal

Have a reusable library for client implementations that need to do authentication over SASL, mainly targeted at Jabber/XMPP libraries.

All class carry just state, are thread-agnostic and must also work in asynchronous environments.

Usage

Derive from SASL::Preferences and overwrite the methods. Then, create a mechanism instance: # mechanisms => ['DIGEST-MD5', 'PLAIN'] sasl = SASL.new(mechanisms, my_preferences) content_to_send = sasl.start # [...] content_to_send = sasl.challenge(received_content)

About

Simple Authentication and Security Layer (RFC 4422) for Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%