Class: DatadogAPIClient::V1::SyntheticsBasicAuthJWT

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#add_claimsObject

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_propertiesObject

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

#algorithmObject

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_inObject

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

#headerObject

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

#payloadObject

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

#secretObject

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_prefixObject

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

#typeObject

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