function listGrants
listGrants(userId: string): FederationGrant[]

Returns the instances user userId let their account sign in to, the most recently used first, for the settings page.

Parameters

userId: string

Return Type

Usage

import { listGrants } from "api/services/identity-provider-service.ts";