ConstructorObject: {
    attributes: string[];
    callbackURL?: string;
    clientID: string;
    keys: OIDCKeys;
    logger?: LoggerFunction;
    providers: IDP[];
    spidLevel?: 1 | 2 | 3;
    trustAnchors: string[];
    trustMarks?: TrustMark[];
}

Class constructor object

Type declaration

  • attributes: string[]

    The list of attributes to request from the IDP

  • OptionalcallbackURL?: string

    The callback URL after the authentication process (defaults to clientID+"/callback")

  • clientID: string

    The client ID for the OIDC client

  • keys: OIDCKeys

    An object containing the keys, grouped by use

  • Optionallogger?: LoggerFunction

    The logger function, which will be called on OIDC events

  • providers: IDP[]

    The list of OIDC providers

  • OptionalspidLevel?: 1 | 2 | 3

    The SPID level to request (1, 2 or 3, default is 2)

  • trustAnchors: string[]

    The trust anchors for the IDP

  • OptionaltrustMarks?: TrustMark[]

    The list of trustmarks provided by the RP