TokenRetryPolicy Class

Retry policy for sending authentication tokens for CBS authentication.

Inheritance
builtins.object
TokenRetryPolicy

Constructor

TokenRetryPolicy(retries=3, backoff=0)

Parameters

Name Description
retries
int

The number of retry attempts for a failed PUT token request. The default is 3. This is exclusive of the initial attempt.

Default value: 3
backoff
int

The time in miliseconds to wait between retry attempts.

Default value: 0