NodeOPCUA API Documentation
    Preparing search index...
    interface ISessionContext {
        clientApplicationUri: string | null;
        clientCertificate: DER | null;
        currentTime?: PreciseClock;
        object?: UAObjectType | UAObject<UAObjectEvents>;
        session?: ISessionBase;
        checkPermission(node: BaseNode, action: PermissionType): boolean;
        currentUserHasRole(role: NodeIdLike): boolean;
        getCurrentUserRoles(): NodeId[];
        getUserName(): string;
        isAccessRestricted(node: BaseNode): boolean;
        isBrowseAccessRestricted(node: BaseNode): boolean;
        toJSON(): Record<string, string | null>;
        toString(): string;
    }
    Index

    Properties

    clientApplicationUri: string | null

    The application URI extracted from the client certificate's SubjectAltName, or null if unavailable.

    clientCertificate: DER | null

    The client's application-instance certificate, or null if no secure channel is available.

    currentTime?: PreciseClock

    Server timestamp at the time the request was received.

    The object on which the current operation is being performed.

    session?: ISessionBase

    The underlying OPC UA session, if available.

    Methods