Odil
A C++11 library for the DICOM standard
Public Types | Public Member Functions | Public Attributes | List of all members
odil::AssociationParameters::UserIdentity Struct Reference

User Identity, cf. PS3.8 D.3.3.7. More...

#include <AssociationParameters.h>

Public Types

enum  Type {
  Type::None = 0, Type::Username = 1, Type::UsernameAndPassword = 2, Type::Kerberos = 3,
  Type::SAML = 4
}
 User identity type. More...
 

Public Member Functions

 UserIdentity ()
 
 UserIdentity (Type type, std::string const &primary_field, std::string const &secondary_field)
 
bool operator== (UserIdentity const &other) const
 Member-wise equality. More...
 

Public Attributes

Type type
 Identity type. More...
 
std::string primary_field
 Primary identity field. More...
 
std::string secondary_field
 Secondary identity field. More...
 

Detailed Description

User Identity, cf. PS3.8 D.3.3.7.

Member Enumeration Documentation

◆ Type

User identity type.

Enumerator
None 
Username 
UsernameAndPassword 
Kerberos 
SAML 

Constructor & Destructor Documentation

◆ UserIdentity() [1/2]

odil::AssociationParameters::UserIdentity::UserIdentity ( )

◆ UserIdentity() [2/2]

odil::AssociationParameters::UserIdentity::UserIdentity ( Type  type,
std::string const &  primary_field,
std::string const &  secondary_field 
)

Member Function Documentation

◆ operator==()

bool odil::AssociationParameters::UserIdentity::operator== ( UserIdentity const &  other) const

Member-wise equality.

Member Data Documentation

◆ primary_field

std::string odil::AssociationParameters::UserIdentity::primary_field

Primary identity field.

◆ secondary_field

std::string odil::AssociationParameters::UserIdentity::secondary_field

Secondary identity field.

◆ type

Type odil::AssociationParameters::UserIdentity::type

Identity type.


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