C# Identity Server 4用户声明存储在哪里

C# Identity Server 4用户声明存储在哪里,c#,authentication,cookies,identityserver4,C#,Authentication,Cookies,Identityserver4,我已登录外部提供商(谷歌),该提供商向我返回了一个访问令牌。 我的外部回调调用此代码以获取用户声明: public async Task<IActionResult> ExternalLoginCallback(string returnUrl) { // read external identity from the temporary cookie var info = await HttpContext.Authentication.GetAuthenticat

我已登录外部提供商(谷歌),该提供商向我返回了一个访问令牌。
我的外部回调调用此代码以获取用户声明:

public async Task<IActionResult> ExternalLoginCallback(string returnUrl)
{
    // read external identity from the temporary cookie
    var info = await HttpContext.Authentication.GetAuthenticateInfoAsync(
                               IdentityServerConstants.ExternalCookieAuthenticationScheme);
    var tempUser = info?.Principal;
    if (tempUser == null)
    {
        throw new Exception("External authentication error");
    }

    // retrieve claims of the external user
    var claims = tempUser.Claims.ToList();

    //Do more work
}
public异步任务ExternalLoginCallback(string returnUrl)
{
//从临时cookie读取外部标识
var info=wait HttpContext.Authentication.GetAuthenticateInfo异步(
IdentityServerConstants.ExternalCookieAuthenticationScheme);
var tempUser=info?.Principal;
if(tempUser==null)
{
抛出新异常(“外部身份验证错误”);
}
//检索外部用户的声明
var claims=tempUser.claims.ToList();
//多做点工作
}
现在,当我注销Identity Server 4并重新登录时,它不会再次请求同意。然而,我所有的声明仍然存在,identity server在哪里存储这些声明,或者它们是如何从cookie中检索的