UpdateOIDCSettingsRequest constructor

UpdateOIDCSettingsRequest({
  1. Duration? accessTokenLifetime,
  2. Duration? idTokenLifetime,
  3. Duration? refreshTokenIdleExpiration,
  4. Duration? refreshTokenExpiration,
})

Implementation

factory UpdateOIDCSettingsRequest({
  $7.Duration? accessTokenLifetime,
  $7.Duration? idTokenLifetime,
  $7.Duration? refreshTokenIdleExpiration,
  $7.Duration? refreshTokenExpiration,
}) {
  final $result = create();
  if (accessTokenLifetime != null) {
    $result.accessTokenLifetime = accessTokenLifetime;
  }
  if (idTokenLifetime != null) {
    $result.idTokenLifetime = idTokenLifetime;
  }
  if (refreshTokenIdleExpiration != null) {
    $result.refreshTokenIdleExpiration = refreshTokenIdleExpiration;
  }
  if (refreshTokenExpiration != null) {
    $result.refreshTokenExpiration = refreshTokenExpiration;
  }
  return $result;
}