Class: StytchB2B::SSO::DeleteConnectionRequestOptions
- Inherits:
-
Object
- Object
- StytchB2B::SSO::DeleteConnectionRequestOptions
- Defined in:
- lib/stytch/b2b_sso.rb
Instance Attribute Summary collapse
-
#authorization ⇒ Object
Optional authorization object.
Instance Method Summary collapse
-
#initialize(authorization: nil) ⇒ DeleteConnectionRequestOptions
constructor
A new instance of DeleteConnectionRequestOptions.
- #to_headers ⇒ Object
Constructor Details
#initialize(authorization: nil) ⇒ DeleteConnectionRequestOptions
Returns a new instance of DeleteConnectionRequestOptions.
38 39 40 41 42 |
# File 'lib/stytch/b2b_sso.rb', line 38 def initialize( authorization: nil ) @authorization = end |
Instance Attribute Details
#authorization ⇒ Object
Optional authorization object. Pass in an active Stytch Member session token or session JWT and the request will be run using that member’s permissions.
36 37 38 |
# File 'lib/stytch/b2b_sso.rb', line 36 def @authorization end |
Instance Method Details
#to_headers ⇒ Object
44 45 46 47 48 |
# File 'lib/stytch/b2b_sso.rb', line 44 def to_headers headers = {} headers.merge!(@authorization.to_headers) if headers end |