class NgrokAPI::Models::EndpointOIDC
Attributes
attrs[R]
client[R]
client_id[R]
client_secret[R]
enabled[R]
inactivity_timeout[R]
issuer[R]
maximum_duration[R]
options_passthrough[R]
scopes[R]
Public Class Methods
new(client: nil, attrs: {})
click to toggle source
# File lib/ngrokapi/models/endpoint_oidc.rb, line 18 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'] @issuer = @attrs['issuer'] @client_id = @attrs['client_id'] @client_secret = @attrs['client_secret'] @scopes = @attrs['scopes'] end
Public Instance Methods
==(other)
click to toggle source
# File lib/ngrokapi/models/endpoint_oidc.rb, line 32 def ==(other) @attrs == other.attrs end
to_h()
click to toggle source
# File lib/ngrokapi/models/endpoint_oidc.rb, line 40 def to_h @attrs.to_h end
to_s()
click to toggle source
# File lib/ngrokapi/models/endpoint_oidc.rb, line 36 def to_s @attrs.to_s end