anchor.diff:  -author("Piotr Duleba").
   
   -include("entity_logic.hrl").
  +-include_lib("ctool/include/aai/aai.hrl").
   -include_lib("ctool/include/errors.hrl").
   
   -export([
  
positive.code:     token_logic:create_user_temporary_token(Auth, UserId, Data).
  
  
  -spec are_basic_credentials_valid(od_user:username(), binary()) -> boolean().
  are_basic_credentials_valid(UserName, Password) ->
      case basic_auth:authenticate(UserName, Password) of
  
negative.code:     create_user/2,
      get_user_protected_data/2,
      create_user_temporary_token/3,
      create_user_temporary_access_token/1,
      are_basic_credentials_valid/2,
  
      create_group/2,
  