class Sharepoint::KerberosAuth::Session
Attributes
password[R]
site[RW]
user[R]
Public Class Methods
new(site)
click to toggle source
# File lib/sharepoint-kerberos-auth.rb, line 10 def initialize site @site = site end
Public Instance Methods
authenticate(user, password)
click to toggle source
# File lib/sharepoint-kerberos-auth.rb, line 14 def authenticate user, password @user = user @password = password end
curl(curb)
click to toggle source
# File lib/sharepoint-kerberos-auth.rb, line 23 def curl curb curb.http_auth_types = :gssnegotiate curb.username = @user curb.password = @password end