How to get IsPersistent flag from ASP.NET Core Authentication -


when sign in user following:

httpcontext.authentication.signinasync("name", claimsprincipal, authenticationproperties); 

where authenticationproperties variable authenticationproperties object parameter ispersistent set either true or false.

i need later inside 1 of controllers information if signinasync done ispersistent parameter set true or false. how can access parameter?

thank help!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -