Beispiel #1
0
        public static async Task<string> IdFormat(IdKey idKey)
        {
            if (idKey == null) new ArgumentNullException(nameof(idKey));
            await idKey.ValidateObjectAsync();

            return $"tenant:{idKey.TenantName}";
        }
Beispiel #2
0
        public static async Task <string> IdFormat(IdKey idKey)
        {
            if (idKey == null)
            {
                new ArgumentNullException(nameof(idKey));
            }
            await idKey.ValidateObjectAsync();

            return($"track:{idKey.TenantName}:{idKey.TrackName}");
        }
Beispiel #3
0
        public static async Task <string> IdFormat(IdKey idKey)
        {
            if (idKey == null)
            {
                new ArgumentNullException(nameof(idKey));
            }
            await idKey.ValidateObjectAsync();

            return($"prisk:{idKey.Master}:{idKey.PasswordSha1Hash}");
        }