Beispiel #1
0
 public async Task SetCurrentUser(UserDomain user)
 {
     await CookieManager.SetValue("sigmgmt_token_access", user.TokenAccess, 1);
 }
Beispiel #2
0
 public static async Task <string> GetTokenAccess()
 {
     return(await CookieManager.GetValue("sigmgmt_token_access"));
 }
Beispiel #3
0
        public async Task <UserDomain> GetCurrentUser()
        {
            User.TokenAccess = await CookieManager.GetValue("sigmgmt_token_access");

            return(User);
        }