C# Class GSF.Security.Authentication.IntegratedSecurityUserCredential

An individual server side user credential
Exibir arquivo Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Properties

Property Type Description
UserID string
UserToken System.Guid
Username string

Public Methods

Method Description
IntegratedSecurityUserCredential ( Stream stream ) : System

Loads user credentials from the supplied stream.

IntegratedSecurityUserCredential ( string username, System.Guid userToken ) : System

Creates user credentials

Load ( Stream stream ) : void

Loads from the supplied stream.

Save ( Stream stream ) : void

Saves to the supplied stream.

Method Details

IntegratedSecurityUserCredential() public method

Loads user credentials from the supplied stream.
public IntegratedSecurityUserCredential ( Stream stream ) : System
stream Stream
return System

IntegratedSecurityUserCredential() public method

Creates user credentials
public IntegratedSecurityUserCredential ( string username, System.Guid userToken ) : System
username string
userToken System.Guid
return System

Load() public method

Loads from the supplied stream.
public Load ( Stream stream ) : void
stream Stream
return void

Save() public method

Saves to the supplied stream.
public Save ( Stream stream ) : void
stream Stream
return void

Property Details

UserID public_oe property

The security identifier for the username
public string UserID
return string

UserToken public_oe property

The token associated with this user and their permissions.
public Guid,System UserToken
return System.Guid

Username public_oe property

The username that was passed to the constructor.
public string Username
return string