interface IUserManagerEx {
    getUserRoles?: ((user: string) => NodeId[]);
    isValidUser?: ValidUserFunc;
    isValidUserAsync?: ValidUserAsyncFunc;
}

Hierarchy (view full)

Properties

getUserRoles?: ((user: string) => NodeId[])

retrieve the roles of the given user

Type declaration

    • (user): NodeId[]
    • Parameters

      • user: string

      Returns NodeId[]

      semicolon separated list of roles

isValidUser?: ValidUserFunc

synchronous function to check the credentials - can be overruled by isValidUserAsync

isValidUserAsync?: ValidUserAsyncFunc

asynchronous function to check if the credentials - overrules isValidUser