anchor.diff:              Error
       end;
   
  -create(#el_req{gri = #gri{id = undefined, aspect = verify_invite_token}, data = Data}) ->
  +create(#el_req{auth = Auth, gri = #gri{id = undefined, aspect = verify_invite_token}, data = Data}) ->
       Token = maps:get(<<"token">>, Data),
       ExpType = maps:get(<<"expectedInviteType">>, Data, any),
  -    AuthCtx = build_token_verification_auth_ctx(Data),
  +    AuthCtx = build_token_verification_auth_ctx(Auth, Data),
       case token_auth:verify_invite_token(Token, ExpType, AuthCtx) of
           {ok, #auth{subject = Subject, caveats = Caveats}} ->
               {ok, value, #{
  
positive.code: 
  
  %% @private
  -spec build_token_verification_auth_ctx(entity_logic:data()) -> aai:auth_ctx().
  build_token_verification_auth_ctx(Data) ->
      PeerIp = utils:null_to_undefined(maps:get(<<"peerIp">>, Data, undefined)),
      Interface = utils:null_to_undefined(maps:get(<<"interface">>, Data, undefined)),
      Service = case utils:null_to_undefined(maps:get(<<"serviceToken">>, Data, undefined)) of
          undefined ->
  
negative.code: create(#el_req{gri = #gri{id = undefined, aspect = {provider_temporary_token, ProviderId}}, data = Data}) ->
      create_temporary_token(?SUB(?ONEPROVIDER, ProviderId), Data);
  
  create(#el_req{auth = ?PROVIDER(PrId) = Auth, gri = #gri{id = undefined, aspect = {offline_user_access_token, UserId}}, data = Data}) ->
      Token = maps:get(<<"token">>, Data),
      AuthCtx = build_token_verification_auth_ctx(Auth, Data),
      case token_auth:verify_access_token(Token, AuthCtx) of
          {ok, #auth{subject = ?SUB(user, UserId), caveats = OriginalCaveats}} ->
              create_temporary_token(?SUB(user, UserId), #{
                  <<"type">> => ?ACCESS_TOKEN,
                  <<"caveats">> => provider_offline_access:build_token_caveats(
                      OriginalCaveats, PrId, ?OFFLINE_ACCESS_TOKEN_TTL
                  )
              });
          {ok, #auth{}} ->
  