Redigera

PFEntityTokenRefreshedEventHandler

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

A handler invoked every time an Entity is automatically re-authenticated, thus obtaining a new EntityToken. An entity will be automatically re-authenticated prior to its EntityToken expiring.

Syntax

void PFEntityTokenRefreshedEventHandler(  
    void* context,  
    const PFEntityKey* entityKey,  
    const PFEntityToken* newToken  
)  

Parameters

context   void*

Optional context pointer to data used by the event handler.

entityKey   PFEntityKey*

The EntityKey for the Entity whose EntityToken expired.

newToken   PFEntityToken*

The new token for the refreshed entity.

Return value

Type: void

Requirements

Header: PFEntity.h

See also

PFEntity members