OIDCSettings constructor

OIDCSettings({
  1. ObjectDetails? details,
  2. Duration? accessTokenLifetime,
  3. Duration? idTokenLifetime,
  4. Duration? refreshTokenIdleExpiration,
  5. Duration? refreshTokenExpiration,
})

Implementation

factory OIDCSettings({
  $8.ObjectDetails? details,
  $7.Duration? accessTokenLifetime,
  $7.Duration? idTokenLifetime,
  $7.Duration? refreshTokenIdleExpiration,
  $7.Duration? refreshTokenExpiration,
}) {
  final $result = create();
  if (details != null) {
    $result.details = details;
  }
  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;
}