GetCachedContextAsync() 공개 정적인 메소드

public static GetCachedContextAsync ( IKeycloakParameters options ) : Task
options IKeycloakParameters
리턴 Task
예제 #1
0
        public async Task <SecurityToken> ValidateTokenAsync(string jwt, IKeycloakParameters options)
        {
            var uriManager = await OidcDataManager.GetCachedContextAsync(options);

            return(ValidateToken(jwt, options, uriManager));
        }
        public static async Task <SecurityToken> ValidateTokenRemote(IOwinContext context, string jwt, IKeycloakParameters options)
        {
            var uriManager = await OidcDataManager.GetCachedContextAsync(context, options);

            return(await ValidateTokenRemote(jwt, uriManager));
        }