Class: NgrokAPI::Models::EndpointSAML
- Inherits:
-
Object
- Object
- NgrokAPI::Models::EndpointSAML
- Defined in:
- lib/ngrokapi/models/endpoint_saml.rb
Instance Attribute Summary collapse
-
#allow_idp_initiated ⇒ Object
readonly
Returns the value of attribute allow_idp_initiated.
-
#assertion_consumer_service_url ⇒ Object
readonly
Returns the value of attribute assertion_consumer_service_url.
-
#attrs ⇒ Object
readonly
Returns the value of attribute attrs.
-
#authorized_groups ⇒ Object
readonly
Returns the value of attribute authorized_groups.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#cookie_prefix ⇒ Object
readonly
Returns the value of attribute cookie_prefix.
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
#entity_id ⇒ Object
readonly
Returns the value of attribute entity_id.
-
#force_authn ⇒ Object
readonly
Returns the value of attribute force_authn.
-
#idp_metadata ⇒ Object
readonly
Returns the value of attribute idp_metadata.
-
#inactivity_timeout ⇒ Object
readonly
Returns the value of attribute inactivity_timeout.
-
#maximum_duration ⇒ Object
readonly
Returns the value of attribute maximum_duration.
-
#metadata_url ⇒ Object
readonly
Returns the value of attribute metadata_url.
-
#nameid_format ⇒ Object
readonly
Returns the value of attribute nameid_format.
-
#options_passthrough ⇒ Object
readonly
Returns the value of attribute options_passthrough.
-
#request_signing_certificate_pem ⇒ Object
readonly
Returns the value of attribute request_signing_certificate_pem.
-
#single_logout_url ⇒ Object
readonly
Returns the value of attribute single_logout_url.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client: nil, attrs: {}) ⇒ EndpointSAML
constructor
A new instance of EndpointSAML.
- #to_h ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(client: nil, attrs: {}) ⇒ EndpointSAML
Returns a new instance of EndpointSAML.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 28 def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @enabled = @attrs['enabled'] @options_passthrough = @attrs['options_passthrough'] @cookie_prefix = @attrs['cookie_prefix'] @inactivity_timeout = @attrs['inactivity_timeout'] @maximum_duration = @attrs['maximum_duration'] @idp_metadata = @attrs['idp_metadata'] @force_authn = @attrs['force_authn'] @allow_idp_initiated = @attrs['allow_idp_initiated'] @authorized_groups = @attrs['authorized_groups'] @entity_id = @attrs['entity_id'] unless @attrs['assertion_consumer_service_url'].nil? @assertion_consumer_service_url = URI(@attrs['assertion_consumer_service_url']) end unless @attrs['single_logout_url'].nil? @single_logout_url = URI(@attrs['single_logout_url']) end @request_signing_certificate_pem = @attrs['request_signing_certificate_pem'] unless @attrs['metadata_url'].nil? @metadata_url = URI(@attrs['metadata_url']) end @nameid_format = @attrs['nameid_format'] end |
Instance Attribute Details
#allow_idp_initiated ⇒ Object (readonly)
Returns the value of attribute allow_idp_initiated.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def allow_idp_initiated @allow_idp_initiated end |
#assertion_consumer_service_url ⇒ Object (readonly)
Returns the value of attribute assertion_consumer_service_url.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def assertion_consumer_service_url @assertion_consumer_service_url end |
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def attrs @attrs end |
#authorized_groups ⇒ Object (readonly)
Returns the value of attribute authorized_groups.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def @authorized_groups end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def client @client end |
#cookie_prefix ⇒ Object (readonly)
Returns the value of attribute cookie_prefix.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def @cookie_prefix end |
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def enabled @enabled end |
#entity_id ⇒ Object (readonly)
Returns the value of attribute entity_id.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def entity_id @entity_id end |
#force_authn ⇒ Object (readonly)
Returns the value of attribute force_authn.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def force_authn @force_authn end |
#idp_metadata ⇒ Object (readonly)
Returns the value of attribute idp_metadata.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def @idp_metadata end |
#inactivity_timeout ⇒ Object (readonly)
Returns the value of attribute inactivity_timeout.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def inactivity_timeout @inactivity_timeout end |
#maximum_duration ⇒ Object (readonly)
Returns the value of attribute maximum_duration.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def maximum_duration @maximum_duration end |
#metadata_url ⇒ Object (readonly)
Returns the value of attribute metadata_url.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def @metadata_url end |
#nameid_format ⇒ Object (readonly)
Returns the value of attribute nameid_format.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def nameid_format @nameid_format end |
#options_passthrough ⇒ Object (readonly)
Returns the value of attribute options_passthrough.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def @options_passthrough end |
#request_signing_certificate_pem ⇒ Object (readonly)
Returns the value of attribute request_signing_certificate_pem.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def request_signing_certificate_pem @request_signing_certificate_pem end |
#single_logout_url ⇒ Object (readonly)
Returns the value of attribute single_logout_url.
10 11 12 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 10 def single_logout_url @single_logout_url end |
Instance Method Details
#==(other) ⇒ Object
54 55 56 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 54 def ==(other) @attrs == other.attrs end |
#to_h ⇒ Object
62 63 64 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 62 def to_h @attrs.to_h end |
#to_s ⇒ Object
58 59 60 |
# File 'lib/ngrokapi/models/endpoint_saml.rb', line 58 def to_s @attrs.to_s end |