Class DicomUserIdentityNegotiation
Inheritance
Inherited Members
Namespace: FellowOakDicom.Network
Assembly: fo-dicom.core.dll
Syntax
public class DicomUserIdentityNegotiation
Properties
PositiveResponseRequested
Gets or sets whether a positive server response is requested.
Declaration
public bool PositiveResponseRequested { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PrimaryField
Gets or sets the identity primary field which might consist of the username, the Kerberos Service ticket or the SAML assertion.
Declaration
public string PrimaryField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SecondaryField
Gets or sets the identity secondary field which is only used when the user identity type is username and pass code.
Declaration
public string SecondaryField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerResponse
Gets or sets the server response which might consist of the Kerberos Service ticket, the SAML response or the JSON web token.
Declaration
public string ServerResponse { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserIdentityType
Gets or sets the form of user identity being provided.
Declaration
public DicomUserIdentityType? UserIdentityType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DicomUserIdentityType> |
Methods
Clone()
Clones the user identity negotiation.
Declaration
public DicomUserIdentityNegotiation Clone()
Returns
Type | Description |
---|---|
DicomUserIdentityNegotiation | Clone of user identity negotiation |
Validate()
Performs a validation of the user identity negotiation properties.
Declaration
public void Validate()
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | An exception is thrown if the user identity type is null |
System.ArgumentException | An exception is thrown if the secondary field is populated while the user identity type is not UsernameAndPasscode |