PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface IUserManagementConfig

    User management configuration (login, logout, account URLs and user info).

    interface IUserManagementConfig {
        clientId?: string;
        loginInNewTab?: boolean;
        loginRedirectUri?: string;
        loginUrl?: string;
        logoutUrl?: string;
        myAccountUrl?: string;
        scope?: string;
        tag?: string;
        user?: IUserInfo;
    }
    Index

    Properties

    clientId?: string

    OIDC client_id. Required when loginUrl is provided.

    loginInNewTab?: boolean

    Whether to open the login page in a new tab instead of redirecting the current page. Defaults to true.

    loginRedirectUri?: string

    OAuth redirect URI for login (the OIDC redirect_uri). Defaults to the current page URL.

    • Same-origin URI (web apps): overrides the redirect target of the standard redirect login flow (loginInNewTab: false).
    • Cross-origin URI (desktop shells, e.g. a loopback server http://127.0.0.1:17548/callback): login opens the identity provider in the system browser; the host completes the flow by dispatching a pwv-external-signin-callback CustomEvent on window with { detail: { url: <full callback URL> } }.
    loginUrl?: string
    logoutUrl?: string
    myAccountUrl?: string
    scope?: string

    Space-separated OIDC scopes requested at sign-in. Must be a subset of the scopes allowed for the client at the identity provider. Defaults to 'openid profile email offline_access' (standard OIDC); add any API/audience scopes your application's own calls need.

    tag?: string

    Optional tag label displayed in the user profile dropdown (e.g. "Trial").

    user?: IUserInfo