Type Alias WRDAuthLoginSettings
type WRDAuthLoginSettings = {
apiTokenDuration?: number;
expireLogin: number;
expirePersistentLogin: number;
expireThirdPartyLogin: number;
openIdServer?: boolean;
roundLongLoginsTo: number;
roundLongLoginsTZ: string;
roundMinDuration: number;
}
apiTokenDuration?: number;
expireLogin: number;
expirePersistentLogin: number;
expireThirdPartyLogin: number;
openIdServer?: boolean;
roundLongLoginsTo: number;
roundLongLoginsTZ: string;
roundMinDuration: number;
}
Properties
Optionalapi Token Duration
apiTokenDuration?: number
expire Login
expireLogin: number
Expire normal login after this time (milliseconds)
expire Persistent Login
expirePersistentLogin: number
Expire persistent login after this time (milliseconds)
expire Third Party Login
expireThirdPartyLogin: number
Expire third party login after this time (milliseconds)
Optionalopen Id Server
openIdServer?: boolean
Act as an OpenID Connect provider (offer openid-configuration metadata, ID tokens and userinfo). Plain OAuth2 doesn't require this
round Long Logins To
roundLongLoginsTo: number
Round long logins to this time of the day (milliseconds)
round Long Logins TZ
roundLongLoginsTZ: string
Round long logins in this timezone
round Min Duration
roundMinDuration: number
Minimum duration of sessions when rounding (milliseconds)
Duration of access tokens handed out over OAuth2 (milliseconds). If not set, falls back to defaultAccessTokenExpiry (7 days)