示例#1
0
        /*******************\
        * Context Helpers
        \*******************/

        public Task <URLContextService> GetContextAsync(String returnUrl)
        {
            return(URLContextService.GetAsync(_interaction, _clientStore, returnUrl));
        }
示例#2
0
        public static async Task <URLContextService> GetAsync(IIdentityServerInteractionService interaction, IClientStore clientStore, String url)
        {
            var instance = new URLContextService(interaction, clientStore);

            return(await instance.SetUrl(url));
        }