PFAuthenticationLoginWithNintendoServiceAccountAsync

Signs in the user with a Nintendo service account token.

Syntax

HRESULT PFAuthenticationLoginWithNintendoServiceAccountAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const PFAuthenticationLoginWithNintendoServiceAccountRequest* request,  
    XAsyncBlock* async  
)  

Parameters

serviceConfigHandle   PFServiceConfigHandle

PFServiceConfigHandle returned from PFServiceConfigCreateHandle call.

request   PFAuthenticationLoginWithNintendoServiceAccountRequest*

Populated request object.

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

This API is available on Nintendo Switch. See also ClientLinkNintendoServiceAccountAsync, ClientUnlinkNintendoServiceAccountAsync. When the asynchronous task is complete, call PFAuthenticationLoginWithNintendoServiceAccountGetResult to get the result.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members