Class: PrincipalAuthenticationContext

Inherits:
Object
  • Object
show all
Defined in:
lib/crowd/default.rb

Overview

http://authentication.integration.crowd.atlassian.comPrincipalAuthenticationContext

application - SOAP::SOAPString
credential - PasswordCredential
name - SOAP::SOAPString
validationFactors - ArrayOfValidationFactor

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application = nil, credential = nil, name = nil, validationFactors = nil) ⇒ PrincipalAuthenticationContext

Returns a new instance of PrincipalAuthenticationContext.



57
58
59
60
61
62
# File 'lib/crowd/default.rb', line 57

def initialize(application = nil, credential = nil, name = nil, validationFactors = nil)
  @application = application
  @credential = credential
  @name = name
  @validationFactors = validationFactors
end

Instance Attribute Details

#applicationObject

Returns the value of attribute application.



52
53
54
# File 'lib/crowd/default.rb', line 52

def application
  @application
end

#credentialObject

Returns the value of attribute credential.



53
54
55
# File 'lib/crowd/default.rb', line 53

def credential
  @credential
end

#nameObject

Returns the value of attribute name.



54
55
56
# File 'lib/crowd/default.rb', line 54

def name
  @name
end

#validationFactorsObject

Returns the value of attribute validationFactors.



55
56
57
# File 'lib/crowd/default.rb', line 55

def validationFactors
  @validationFactors
end