Beispiel #1
0
        internal void GetTokenAttribute(AlpcTokenMessageAttribute attribute)
        {
            var attr = GetAttribute <AlpcTokenAttr>(AlpcMessageAttributeFlags.Token).Result;

            attribute.TokenId          = attr.TokenId;
            attribute.ModifiedId       = attr.ModifiedId;
            attribute.AuthenticationId = attr.AuthenticationId;
        }
Beispiel #2
0
        internal void SetTokenAttribute(AlpcTokenMessageAttribute token_attribute)
        {
            var attr = GetAttribute <AlpcTokenAttr>(AlpcMessageAttributeFlags.Token);

            attr.Result = new AlpcTokenAttr()
            {
                TokenId          = token_attribute.TokenId,
                AuthenticationId = token_attribute.AuthenticationId,
                ModifiedId       = token_attribute.ModifiedId
            };
        }