Interface Authorization

Represents authorization information for a user.

interface Authorization {
    capacity?: "BUR" | "VER" | "EA" | "GID" | "LB" | "OV";
    loginHint?: string;
    mandateGiver?:
        | Entity
        | {
            firstName?: string;
            identifier: string;
            name: string;
            type: "organisation"
            | "person";
        };
    onBehalfOf?: | Entity
    | { identifier: string; name: string; type: "organisation" };
}

Properties

capacity?: "BUR" | "VER" | "EA" | "GID" | "LB" | "OV"

The capacity of the user. // Rol die de applicatie ziet

loginHint?: string

A base64-encoded string representing a login hint. In case of ACM,

mandateGiver?:
    | Entity
    | {
        firstName?: string;
        identifier: string;
        name: string;
        type: "organisation"
        | "person";
    }

The mandate giver, which could be just the name of the mandate giver.

onBehalfOf?: Entity | { identifier: string; name: string; type: "organisation" }

The entity on behalf of which the user is acting, if applicable.