Class: NgrokAPI::Models::EndpointOIDC
- Inherits:
-
Object
- Object
- NgrokAPI::Models::EndpointOIDC
- Defined in:
- lib/ngrokapi/models/endpoint_oidc.rb
Instance Attribute Summary collapse
-
#attrs ⇒ Object
readonly
Returns the value of attribute attrs.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#cookie_prefix ⇒ Object
readonly
Returns the value of attribute cookie_prefix.
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
#inactivity_timeout ⇒ Object
readonly
Returns the value of attribute inactivity_timeout.
-
#issuer ⇒ Object
readonly
Returns the value of attribute issuer.
-
#maximum_duration ⇒ Object
readonly
Returns the value of attribute maximum_duration.
-
#options_passthrough ⇒ Object
readonly
Returns the value of attribute options_passthrough.
-
#scopes ⇒ Object
readonly
Returns the value of attribute scopes.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client: nil, attrs: {}) ⇒ EndpointOIDC
constructor
A new instance of EndpointOIDC.
- #to_h ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(client: nil, attrs: {}) ⇒ EndpointOIDC
Returns a new instance of EndpointOIDC.
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# 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 |
Instance Attribute Details
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def attrs @attrs end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def client @client end |
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def client_secret @client_secret end |
#cookie_prefix ⇒ Object (readonly)
Returns the value of attribute cookie_prefix.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def @cookie_prefix end |
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def enabled @enabled end |
#inactivity_timeout ⇒ Object (readonly)
Returns the value of attribute inactivity_timeout.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def inactivity_timeout @inactivity_timeout end |
#issuer ⇒ Object (readonly)
Returns the value of attribute issuer.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def issuer @issuer end |
#maximum_duration ⇒ Object (readonly)
Returns the value of attribute maximum_duration.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def maximum_duration @maximum_duration end |
#options_passthrough ⇒ Object (readonly)
Returns the value of attribute options_passthrough.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def @options_passthrough end |
#scopes ⇒ Object (readonly)
Returns the value of attribute scopes.
6 7 8 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 6 def scopes @scopes end |
Instance Method Details
#==(other) ⇒ Object
32 33 34 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 32 def ==(other) @attrs == other.attrs end |
#to_h ⇒ Object
40 41 42 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 40 def to_h @attrs.to_h end |
#to_s ⇒ Object
36 37 38 |
# File 'lib/ngrokapi/models/endpoint_oidc.rb', line 36 def to_s @attrs.to_s end |