OAuthSessionManager.fromSession constructor
OAuthSessionManager.fromSession(
- OAuthSession session, {
- OAuthClient? client,
- DPoPSigner? signer,
- DPoPNonceCache? nonceCache,
Implementation
factory OAuthSessionManager.fromSession(
final OAuthSession session, {
final OAuthClient? client,
final DPoPSigner? signer,
final DPoPNonceCache? nonceCache,
}) {
final mgr = OAuthSessionManager(
client,
sub: session.sub,
signer: signer,
nonceCache: nonceCache,
).._session = session;
return mgr;
}