Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

629 B
Raw Blame
export type RefreshToken = {
    /**
     * Gets or sets the unique identifier for the refresh token.
     */
    id: string;

    /**
     * Gets or sets the device identifier associated with the refresh token.
     */
    deviceIdentifier: string;

    /**
     * Gets or sets the expiration date of the refresh token.
     */
    expireDate: string;

    /**
     * Gets or sets the creation date of the refresh token.
     */
    createdAt: string;
}

/**
 * Response of GET /v2/Security/sessions.
 */
export type SessionsResponse = {
    /**
     * The active sessions, newest first.
     */
    sessions: RefreshToken[];
}