Sha256: 489987ed93ebd6a3fb07cf1d430c3ddf92cc373411d65509d70149b7ab6feb40
Contents?: true
Size: 1.87 KB
Versions: 3
Compression:
Stored size: 1.87 KB
Contents
# frozen_string_literal: true # Code generated for API Clients. DO NOT EDIT. require 'uri' module NgrokAPI module Models class EndpointSAML attr_reader :client, :attrs, :enabled, :options_passthrough, :cookie_prefix, :inactivity_timeout, :maximum_duration, :idp_metadata, :force_authn, :allow_idp_initiated, :authorized_groups, :entity_id, :assertion_consumer_service_url, :single_logout_url, :request_signing_certificate_pem, :metadata_url, :nameid_format 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 def ==(other) @attrs == other.attrs end def to_s @attrs.to_s end def to_h @attrs.to_h end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ngrok-api-0.24.0 | lib/ngrokapi/models/endpoint_saml.rb |
ngrok-api-0.23.0 | lib/ngrokapi/models/endpoint_saml.rb |
ngrok-api-0.22.0 | lib/ngrokapi/models/endpoint_saml.rb |