Parameters
- from: ActorRef
- message:
| { SessionStoreMessages: "Ping" } & { value: {} }
| { SessionStoreMessages: "StoreSession" } & {
value: Partial<
{
accessToken: string;
actorSystem: string;
created: Timestamp;
fingerprint?: string;
idExpires: Timestamp;
idToken: string;
persistentCookie?: boolean;
refreshExpires: Timestamp;
refreshToken: string;
role: "STUDENT"
| "TEACHER"
| "ADMIN";
uid: string & BRAND<"UID">;
updated: Timestamp;
},
> & { uid: string & BRAND<"UID"> };
}
| { SessionStoreMessages: "CheckSession" } & {
value: string & BRAND<"UID">;
}
| { SessionStoreMessages: "GetSessionForUserId" } & {
value: string & BRAND<"UID">;
}
| { SessionStoreMessages: "GetSessionForClient" } & {
value: string & BRAND<"UID">;
}
| { SessionStoreMessages: "RemoveSession" } & {
value: string & BRAND<"UID">;
}
Returns Promise<SessionStoreResult>
promised return value. If the caller used ask, this value will be returned to the calling actor
Runs after the actor was started and is ready to receive messages.