2.2.4.2 External Group Token
The External Group Token structure is a variable-length structure associated with a principal that contains a collection of the SystemIDs (section 2.2.1.12) for the external groups of which the principal is a member.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TimeTokenGenerated |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
Magic |
|||||||||||||||||||||||||||||||
AuthenticationType |
|||||||||||||||||||||||||||||||
UserSystemIdSize |
|||||||||||||||||||||||||||||||
TokenGroupsSize |
|||||||||||||||||||||||||||||||
Magic2 |
|||||||||||||||||||||||||||||||
UserSystemId (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
TokenGroups (variable) |
|||||||||||||||||||||||||||||||
... |
TimeTokenGenerated (8 bytes): An 8-byte, unsigned integer value specifying the time that this token was generated, stored as seconds since midnight, January 1, 1899, Coordinated Universal Time (UTC).
Size (4 bytes): A 4-byte, unsigned integer value specifying the length of the External Group Token in bytes.
Magic (4 bytes): A 4-byte, unsigned integer, which MUST use the value 0xCACBCECF.
AuthenticationType (4 bytes): A 4-byte, unsigned integer value specifying the authentication provider for the SystemID of the principal. The value MUST be one of the following.
-
Value
Description
0x00000001
Windows Integrated Authentication
0x00000003
ASP.NET Forms Authentication
UserSystemIdSize (4 bytes): A 4-byte, unsigned integer value specifying the length of the principal's serialized binary SystemID, in bytes.
TokenGroupsSize (4 bytes): A 4-byte, unsigned integer value specifying the length, in bytes, of the TokenGroups field containing the serialized binary SystemIDs for the external groups.
Magic2 (4 bytes): A 4-byte, unsigned integer, which MUST use the value 0xDADBDEDF.
UserSystemId (variable): A variable-length field containing the serialized binary SystemID for the principal, occupying the number of bytes specified in UserSystemIdSize.
TokenGroups (variable): A variable-length field containing a Token Groups structure, which contains the serialized binary SystemIDs for the external groups of which the principal is a member, occupying the number of bytes specified in TokenGroupsSize.