// AuthUser converts User struct to AuthUser
AuthUser converts User struct to AuthUser
// AuthUser converts User struct to AuthUser
func (u *User) AuthUser() *AuthUser {
	return &AuthUser{
		ID:          u.ID,
		DisplayName: u.DisplayName,
		Email:       u.Email,
		Role:        u.Role,
	}
}
func ( u * User ) AuthUser ( ) * AuthUser { return & AuthUser { ID : u . ID , DisplayName : u . DisplayName , Email : u . Email , Role : u . Role , } }
AuthUser converts User struct to AuthUser
AuthUser converts User struct to AuthUser