Class: Softlayer::Account::Authentication::Saml

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/account/authentication/saml.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Authentication_Saml'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#accountObject

Returns the value of attribute account.



23
24
25
# File 'lib/softlayer/account/authentication/saml.rb', line 23

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



6
7
8
# File 'lib/softlayer/account/authentication/saml.rb', line 6

def 
  @account_id
end

#attribute_countObject

Returns the value of attribute attribute_count.



22
23
24
# File 'lib/softlayer/account/authentication/saml.rb', line 22

def attribute_count
  @attribute_count
end

#attributesObject

Returns the value of attribute attributes.



24
25
26
# File 'lib/softlayer/account/authentication/saml.rb', line 24

def attributes
  @attributes
end

#certificateObject

Returns the value of attribute certificate.



7
8
9
# File 'lib/softlayer/account/authentication/saml.rb', line 7

def certificate
  @certificate
end

#certificate_fingerprintObject

Returns the value of attribute certificate_fingerprint.



8
9
10
# File 'lib/softlayer/account/authentication/saml.rb', line 8

def certificate_fingerprint
  @certificate_fingerprint
end

#entity_idObject

Returns the value of attribute entity_id.



9
10
11
# File 'lib/softlayer/account/authentication/saml.rb', line 9

def entity_id
  @entity_id
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/account/authentication/saml.rb', line 10

def id
  @id
end

#service_provider_certificateObject

Returns the value of attribute service_provider_certificate.



11
12
13
# File 'lib/softlayer/account/authentication/saml.rb', line 11

def service_provider_certificate
  @service_provider_certificate
end

#service_provider_entity_idObject

Returns the value of attribute service_provider_entity_id.



12
13
14
# File 'lib/softlayer/account/authentication/saml.rb', line 12

def service_provider_entity_id
  @service_provider_entity_id
end

#service_provider_public_keyObject

Returns the value of attribute service_provider_public_key.



13
14
15
# File 'lib/softlayer/account/authentication/saml.rb', line 13

def service_provider_public_key
  @service_provider_public_key
end

#service_provider_single_logout_encodingObject

Returns the value of attribute service_provider_single_logout_encoding.



14
15
16
# File 'lib/softlayer/account/authentication/saml.rb', line 14

def service_provider_single_logout_encoding
  @service_provider_single_logout_encoding
end

#service_provider_single_logout_urlObject

Returns the value of attribute service_provider_single_logout_url.



15
16
17
# File 'lib/softlayer/account/authentication/saml.rb', line 15

def service_provider_single_logout_url
  @service_provider_single_logout_url
end

#service_provider_single_sign_on_encodingObject

Returns the value of attribute service_provider_single_sign_on_encoding.



16
17
18
# File 'lib/softlayer/account/authentication/saml.rb', line 16

def service_provider_single_sign_on_encoding
  @service_provider_single_sign_on_encoding
end

#service_provider_single_sign_on_urlObject

Returns the value of attribute service_provider_single_sign_on_url.



17
18
19
# File 'lib/softlayer/account/authentication/saml.rb', line 17

def service_provider_single_sign_on_url
  @service_provider_single_sign_on_url
end

#single_logout_encodingObject

Returns the value of attribute single_logout_encoding.



18
19
20
# File 'lib/softlayer/account/authentication/saml.rb', line 18

def single_logout_encoding
  @single_logout_encoding
end

#single_logout_urlObject

Returns the value of attribute single_logout_url.



19
20
21
# File 'lib/softlayer/account/authentication/saml.rb', line 19

def single_logout_url
  @single_logout_url
end

#single_sign_on_encodingObject

Returns the value of attribute single_sign_on_encoding.



20
21
22
# File 'lib/softlayer/account/authentication/saml.rb', line 20

def single_sign_on_encoding
  @single_sign_on_encoding
end

#single_sign_on_urlObject

Returns the value of attribute single_sign_on_url.



21
22
23
# File 'lib/softlayer/account/authentication/saml.rb', line 21

def single_sign_on_url
  @single_sign_on_url
end

Class Method Details

.create_object(message) ⇒ Object

template_object



27
28
29
# File 'lib/softlayer/account/authentication/saml.rb', line 27

def self.create_object(message)
  request(:create_object, Softlayer::Account::Authentication::Saml, message)
end

Instance Method Details

#delete_objectObject



31
32
33
# File 'lib/softlayer/account/authentication/saml.rb', line 31

def delete_object
  request(:delete_object, Boolean)
end

#edit_object(message) ⇒ Object

template_object



36
37
38
# File 'lib/softlayer/account/authentication/saml.rb', line 36

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_accountObject



40
41
42
# File 'lib/softlayer/account/authentication/saml.rb', line 40

def 
  request(:get_account, Softlayer::Account)
end

#get_attributesObject



44
45
46
# File 'lib/softlayer/account/authentication/saml.rb', line 44

def get_attributes
  request(:get_attributes, Array[Softlayer::Account::Authentication::Attribute])
end

#get_metadataObject



48
49
50
# File 'lib/softlayer/account/authentication/saml.rb', line 48

def 
  request(:get_metadata, String)
end

#get_objectObject



52
53
54
# File 'lib/softlayer/account/authentication/saml.rb', line 52

def get_object
  request(:get_object, Softlayer::Account::Authentication::Saml)
end