Dela via


HotspotAuthenticationContext.SkipAuthentication Method

Definition

Skips Wireless Internet Service Provider roaming (WISPr) Windows authentication.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 virtual void SkipAuthentication() = SkipAuthentication;
void SkipAuthentication();
public void SkipAuthentication();
function skipAuthentication()
Public Sub SkipAuthentication ()

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

SkipAuthentication can be used to implement a proprietary authentication flow. When SkipAuthentication is called, Windows checks the current Internet connectivity status over the corresponding network interface. Thus, applications implementing their own authentication should call this API when their authentication sequence is completed.

Once IssueCredentials is called, the authentication context is finalized and IssueCredentials, AbortAuthentication, or SkipAuthentication should not be called again.

Applies to