Пример #1
0
        private void CreateNativeAgent()
        {
            Guid iid = typeof(NativeTokenValidationService.IFabricTokenValidationServiceAgent).GetTypeInfo().GUID;

            //// PInvoke call
            this.nativeAgent = NativeTokenValidationService.CreateFabricTokenValidationServiceAgent(ref iid);
        }
        internal static IDictionary <string, string> GetDefaultAzureActiveDirectoryConfigurations()
        {
            var result = NativeTokenValidationService.GetDefaultAzureActiveDirectoryConfigurations();

            return(NativeTypes.FromNativeStringMap(result));
        }