Class IamCredentials
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The IAM authentication credentials for a User used when making calls to MyGeotab.
public sealed class IamCredentials : ICredentials
- Inheritance
-
IamCredentials
- Implements
- Inherited Members
Constructors
IamCredentials(string, string?, string, bool)
Initializes a new instance of the IamCredentials class.
public IamCredentials(string userName, string? database, string userId, bool isMyAdminUser)
Parameters
userName
stringThe username.
database
stringThe database.
userId
stringThe user ID.
isMyAdminUser
boolWhether this is a MyAdmin user or not.
Properties
Database
Gets or sets the database name.
public string? Database { get; set; }
Property Value
IsMyAdminUser
Gets or sets a boolean saying whether this is a MyAdmin user.
public bool? IsMyAdminUser { get; set; }
Property Value
UserId
Gets the IAM user ID.
public string? UserId { get; }
Property Value
- string
The user's unique user ID in our IAM system.
UserName
Gets or sets the MyGeotab username.
public string? UserName { get; set; }
Property Value
Remarks
You should not modify the UserName in IamCredentials after it's been constructed.
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()