SSOApi
API client for managing SSO connections (SAML, OIDC providers).
Overview
Provides methods for listing, creating, updating, and deleting SSO connections. Supports SAML, Google, Microsoft, GitHub, and custom OIDC providers for enterprise single sign-on integration.
Basic Usage
import { HttpService, SSOApi } from 'authsafe-ts';
const user = await oauthService.getUser();
const httpService = new HttpService(user?.access_token);
const ssoApi = new SSOApi(httpService);
const connections = await ssoApi.listConnections();