Class: NgrokAPI::Models::EndpointSAML

Inherits:
Object
  • Object
show all
Defined in:
lib/ngrokapi/models/endpoint_saml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:, result:) ⇒ EndpointSAML

Returns a new instance of EndpointSAML.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 25

def initialize(client:, result:)
  @client = client
  @result = result
  @enabled = @result['enabled']
  @options_passthrough = @result['options_passthrough']
  @cookie_prefix = @result['cookie_prefix']
  @inactivity_timeout = @result['inactivity_timeout']
  @maximum_duration = @result['maximum_duration']
  @idp_metadata_url = @result['idp_metadata_url']
  @idp_metadata = @result['idp_metadata']
  @force_authn = @result['force_authn']
  @allow_idp_initiated = @result['allow_idp_initiated']
  @authorized_groups = @result['authorized_groups']
  @entity_id = @result['entity_id']
  @assertion_consumer_service_url = @result['assertion_consumer_service_url']
  @single_logout_url = @result['single_logout_url']
  @request_signing_certificate_pem = @result['request_signing_certificate_pem']
  @metadata_url = @result['metadata_url']
  @nameid_format = @result['nameid_format']
end

Instance Attribute Details

#allow_idp_initiatedObject (readonly)

Returns the value of attribute allow_idp_initiated.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def allow_idp_initiated
  @allow_idp_initiated
end

#assertion_consumer_service_urlObject (readonly)

Returns the value of attribute assertion_consumer_service_url.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def assertion_consumer_service_url
  @assertion_consumer_service_url
end

#authorized_groupsObject (readonly)

Returns the value of attribute authorized_groups.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def authorized_groups
  @authorized_groups
end

#clientObject (readonly)

Returns the value of attribute client.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def client
  @client
end

Returns the value of attribute cookie_prefix.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def cookie_prefix
  @cookie_prefix
end

#enabledObject (readonly)

Returns the value of attribute enabled.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def enabled
  @enabled
end

#entity_idObject (readonly)

Returns the value of attribute entity_id.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def entity_id
  @entity_id
end

#force_authnObject (readonly)

Returns the value of attribute force_authn.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def force_authn
  @force_authn
end

#idp_metadataObject (readonly)

Returns the value of attribute idp_metadata.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def 
  @idp_metadata
end

#idp_metadata_urlObject (readonly)

Returns the value of attribute idp_metadata_url.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def 
  @idp_metadata_url
end

#inactivity_timeoutObject (readonly)

Returns the value of attribute inactivity_timeout.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def inactivity_timeout
  @inactivity_timeout
end

#maximum_durationObject (readonly)

Returns the value of attribute maximum_duration.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def maximum_duration
  @maximum_duration
end

#metadata_urlObject (readonly)

Returns the value of attribute metadata_url.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def 
  @metadata_url
end

#nameid_formatObject (readonly)

Returns the value of attribute nameid_format.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def nameid_format
  @nameid_format
end

#options_passthroughObject (readonly)

Returns the value of attribute options_passthrough.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def options_passthrough
  @options_passthrough
end

#request_signing_certificate_pemObject (readonly)

Returns the value of attribute request_signing_certificate_pem.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def request_signing_certificate_pem
  @request_signing_certificate_pem
end

#resultObject (readonly)

Returns the value of attribute result.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def result
  @result
end

#single_logout_urlObject (readonly)

Returns the value of attribute single_logout_url.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 6

def single_logout_url
  @single_logout_url
end

Instance Method Details

#==(other) ⇒ Object



46
47
48
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 46

def ==(other)
  @result == other.result
end

#to_sObject



50
51
52
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 50

def to_s
  @result.to_s
end