OIDCSettings constructor
OIDCSettings({
- ObjectDetails? details,
- Duration? accessTokenLifetime,
- Duration? idTokenLifetime,
- Duration? refreshTokenIdleExpiration,
- 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;
}