NodeOPCUA API Documentation
    Preparing search index...

    Implements

    Index

    Constructors

    Properties

    continuationPoints: Buffer<ArrayBufferLike>[]
    currentTime?: PreciseClock

    Server timestamp at the time the request was received.

    object: UAObjectType | UAObject<UAObjectEvents> | undefined

    The object on which the current operation is being performed.

    server?: IServerBase
    session?: ISessionBase

    The underlying OPC UA session, if available.

    defaultContext: SessionContext

    Accessors

    • get clientApplicationUri(): string | null

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

      Returns string | null

    • get clientCertificate(): DER | null

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

      Returns DER | null

    Methods

    • Returns true if the current user has the given role.

      Parameters

      Returns boolean

    • getCurrentUserRoles

      guest => anonymous user (unauthenticated) default => default authenticated user

      Returns NodeId[]

    • Returns the user name of the current user.

      Returns string

    • Parameters

      Returns boolean

      true if the context is access restricted

    • Parameters

      Returns boolean

      true if the browse is denied (access is restricted)

    • Returns a JSON representation of the context

      Returns Record<string, string | null>

    • Returns a string representation of the context

      Returns string