Class SoCredentialsSecurityToken
Inherited Members
Namespace: SuperOffice.Security.Principal
Assembly: SoCore.dll
Syntax
public static class SoCredentialsSecurityToken
Fields
TicketSecretPrefix
Declaration
public const string TicketSecretPrefix = "7S:"
Field Value
Type | Description |
---|---|
string |
TicketStringPrefix
Magic string at start of ticket, so we can recognize it
Declaration
public const string TicketStringPrefix = "7T:"
Field Value
Type | Description |
---|---|
string |
Methods
IsUserNameTicket(string)
Check if a UserName is a ticket. See if it starts with the TicketStringPrefix
Declaration
public static bool IsUserNameTicket(string userName)
Parameters
Type | Name | Description |
---|---|---|
string | userName | "7T:F00BA82193==" |
Returns
Type | Description |
---|---|
bool | True if the username is a ticket |