High Performance OPC UA Server SDK  1.7.1.383
uasession_user_info Struct Reference

Information provided by the authentication backend about the user. More...

#include <session.h>

Data Fields

enum ua_usertokentype token_type
 Determines which member of token_data is valid.
 
union {
   struct {
      struct ua_string   username
 Username of the authenticated user.
 
   }   username_pw
 Data specific for the UserNameIdentityToken.
 
   struct {
      struct ua_string   subject_common_name
 common name, used as username in the inode backend
 
      struct ua_string   thumbprint
 SHA1 thumbprint of the certificate as uppercase hexadecimal.
 
      struct ua_string   subject_criteria
 String built according to the rules for the X509Subject criteria in Part 18.
 
   }   x509
 Data specific for the X509IdentityToken.
 
   struct {
      struct ua_string *   roles
 Array of roles extracted from an issued token.
 
      uint32_t   num_roles
 Number of roles.
 
      struct ua_string *   group_ids
 Array of group ids extracted from an issued token.
 
      uint32_t   num_group_ids
 Number of group ids.
 
   }   issuedtoken
 Data specific for the IssuedToken.
 
token_data
 Data specific for the used token.
 
struct ua_string policy_id
 Unique policy_id of the token.
 
struct ua_string client_user_id
 ClientUserId described in Part 5.
 
ua_statuscode result
 Result of the authentication.
 

Detailed Description

Information provided by the authentication backend about the user.


The documentation for this struct was generated from the following file: