Ejemplo n.º 1
0
 //Wrapper around permissions, matching to DeezerPermissions Enum
 internal bool HasPermission(DeezerPermissions aPermission)
 {
     if (IsAuthenticated && iPermissions != null)
     {
         return(iPermissions.HasPermission(aPermission));
     }
     return(false);
 }
Ejemplo n.º 2
0
        public bool HasPermission(DeezerPermissions aRequiredPermissions)
        {
            if (IsAuthenticated && iPermissions != null)
            {
                return(iPermissions.HasPermission(aRequiredPermissions));
            }

            return(false);
        }