Class: DatadogAPIClient::V1::SyntheticsBasicAuthJWT
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SyntheticsBasicAuthJWT
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb
Overview
Object to handle JWT authentication when performing the test.
Instance Attribute Summary collapse
-
#add_claims ⇒ Object
Standard JWT claims to automatically inject.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#algorithm ⇒ Object
readonly
Algorithm to use for the JWT authentication.
-
#expires_in ⇒ Object
readonly
Token time-to-live in seconds.
-
#header ⇒ Object
Custom JWT header as a JSON string.
-
#payload ⇒ Object
readonly
JWT claims as a JSON string.
-
#secret ⇒ Object
readonly
Signing key for the JWT authentication.
-
#token_prefix ⇒ Object
Prefix added before the token in the
Authorizationheader. -
#type ⇒ Object
readonly
The type of authentication to use when performing the test.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#add_claims ⇒ Object
Standard JWT claims to automatically inject.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 25 def add_claims @add_claims end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 49 def additional_properties @additional_properties end |
#algorithm ⇒ Object
Algorithm to use for the JWT authentication.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 28 def algorithm @algorithm end |
#expires_in ⇒ Object
Token time-to-live in seconds.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 31 def expires_in @expires_in end |
#header ⇒ Object
Custom JWT header as a JSON string.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 34 def header @header end |
#payload ⇒ Object
JWT claims as a JSON string.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 37 def payload @payload end |
#secret ⇒ Object
Signing key for the JWT authentication. Use the shared secret for HS256
or the private key (PEM format) for RS256 and ES256.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 41 def secret @secret end |
#token_prefix ⇒ Object
Prefix added before the token in the Authorization header. Defaults to Bearer.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 44 def token_prefix @token_prefix end |
#type ⇒ Object
The type of authentication to use when performing the test.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/synthetics_basic_auth_jwt.rb', line 47 def type @type end |