File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Equinox.Infra.CrossCutting.Identity/User Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ public AspNetUser(IHttpContextAccessor accessor)
1919
2020 public Guid GetUserId ( )
2121 {
22- return IsAutenticated ( ) ? Guid . Parse ( _accessor . HttpContext . User . GetUserId ( ) ) : Guid . Empty ;
22+ return IsAuthenticated ( ) ? Guid . Parse ( _accessor . HttpContext . User . GetUserId ( ) ) : Guid . Empty ;
2323 }
2424
2525 public string GetUserEmail ( )
2626 {
27- return IsAutenticated ( ) ? _accessor . HttpContext . User . GetUserEmail ( ) : "" ;
27+ return IsAuthenticated ( ) ? _accessor . HttpContext . User . GetUserEmail ( ) : "" ;
2828 }
2929
30- public bool IsAutenticated ( )
30+ public bool IsAuthenticated ( )
3131 {
3232 return _accessor . HttpContext . User . Identity . IsAuthenticated ;
3333 }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public interface IAspNetUser
1010 string Name { get ; }
1111 Guid GetUserId ( ) ;
1212 string GetUserEmail ( ) ;
13- bool IsAutenticated ( ) ;
13+ bool IsAuthenticated ( ) ;
1414 bool IsInRole ( string role ) ;
1515 IEnumerable < Claim > GetUserClaims ( ) ;
1616 HttpContext GetHttpContext ( ) ;
You can’t perform that action at this time.
0 commit comments