Class: Spid::Saml2::IdentityProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/spid/saml2/identity_provider.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, entity_id:, sso_target_url:, slo_target_url:, certificate:) ⇒ IdentityProvider

Returns a new instance of IdentityProvider.



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/spid/saml2/identity_provider.rb', line 11

def initialize(
      name:,
      entity_id:,
      sso_target_url:,
      slo_target_url:,
      certificate:
    )
  @name = name
  @entity_id = entity_id
  @sso_target_url = sso_target_url
  @slo_target_url = slo_target_url
  @certificate = certificate
end

Instance Attribute Details

#certificateObject (readonly)

Returns the value of attribute certificate.



10
11
12
# File 'lib/spid/saml2/identity_provider.rb', line 10

def certificate
  @certificate
end

#entity_idObject (readonly)

Returns the value of attribute entity_id.



7
8
9
# File 'lib/spid/saml2/identity_provider.rb', line 7

def entity_id
  @entity_id
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/spid/saml2/identity_provider.rb', line 6

def name
  @name
end

#slo_target_urlObject (readonly)

Returns the value of attribute slo_target_url.



9
10
11
# File 'lib/spid/saml2/identity_provider.rb', line 9

def slo_target_url
  @slo_target_url
end

#sso_target_urlObject (readonly)

Returns the value of attribute sso_target_url.



8
9
10
# File 'lib/spid/saml2/identity_provider.rb', line 8

def sso_target_url
  @sso_target_url
end