retryPolicyObtainingAuthorizationProvider abstract method Null safety

Authentication retryPolicyObtainingAuthorizationProvider(
  1. RetryPolicy retryPolicy
)

The retry policy to be used to obtain an AuthorizationProvider after the user authenticates successfully. If obtaining an AuthorizationProvider fails on the first try, the SDK will retry according to the provided RetryPolicy. This policy is used when the backend is the Identity Suite and cookies are created after a successful authentication.

Params:

  • retryPolicy: the retry policy to be used when retrieving the AuthorizationProvider. By default, the code will retry 3 times with a time interval of 1 second between tries.

Returns: an Authentication object.

Implementation

Authentication retryPolicyObtainingAuthorizationProvider(
  RetryPolicy retryPolicy,
);