IssueOptions
Type Parameters
Section titled “Type Parameters”A
Properties
Section titled “Properties”authenticatedAt?
Section titled “authenticatedAt?”
readonlyoptionalauthenticatedAt?:number
When the credential was proved. Default now; a re-issue that proved nothing passes the old value.
epoch?
Section titled “epoch?”
readonlyoptionalepoch?:number
The epoch read before the credential was checked.
inherit?
Section titled “inherit?”
readonlyoptionalinherit?:StoredSession<A>
The session this one replaces: its attributes, remember-me and cookie
shape carry over. The re-issue vias (password-change, reauthenticate,
revoke-others, email-verified, email-changed) are for the core’s own flows: they
require an inherit the core itself read live from the store, for the
same user, before the flow revoked anything, and refuse every other value.
With any other via of your own, inherit must be a session the store
still holds live for this user (or the object confirmLiveSession
returned, when the flow revokes sessions before it issues), or the issue
is refused as session_expired. The beforeSessionCreate hooks then see
it as reissueOf. The two-factor plugin lets such a re-issue through
when the session it replaces was created after the factor’s enrollment
window closed, or holds an open step-up: a best effort with known gaps
(see provedFactor in the plugin), so turn the factor on with
revokeOtherSessions: true.
readonlymeta:RequestMeta
persistentCookie?
Section titled “persistentCookie?”
readonlyoptionalpersistentCookie?:boolean
Keep the cookie past the browser session even without remember-me. Default: same as rememberMe.
rememberMe?
Section titled “rememberMe?”
readonlyoptionalrememberMe?:boolean
readonlyvia:IssueVia