NumberVerification Class

Definition

Number operations include Frontend Authentication.

Users first make a call to the endpoint /Number:verify, which returns a redirect to the device's Network. This is followed by the device to authenticate directly with the Network. The Network responds with a token and a redirect. This token can be exchanged with APC for a code.

Users make a second call to the endpoint /Number:verify including the code. The code is used to verify the device number. The second response is a 200 containing the result of the query.

For more information on the steps required to use Number Verificaiton, see the APC documentation.

public class NumberVerification
type NumberVerification = class
Public Class NumberVerification
Inheritance
NumberVerification

Constructors

NumberVerification()

Initializes a new instance of NumberVerification for mocking.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

VerifyWithCode(String, NumberVerificationWithCodeContent, CancellationToken)

Verifies the phone number (MSISDN) associated with a device.

VerifyWithCode(String, RequestContent, RequestContext)

[Protocol Method] Verifies the phone number (MSISDN) associated with a device.

VerifyWithCodeAsync(String, NumberVerificationWithCodeContent, CancellationToken)

Verifies the phone number (MSISDN) associated with a device.

VerifyWithCodeAsync(String, RequestContent, RequestContext)

[Protocol Method] Verifies the phone number (MSISDN) associated with a device.

VerifyWithoutCode(String, NumberVerificationWithoutCodeContent, CancellationToken)

Verifies the phone number (MSISDN) associated with a device. As part of the frontend authorization flow, the device is redirected to the operator network to authenticate directly.

VerifyWithoutCode(String, RequestContent, RequestContext)

[Protocol Method] Verifies the phone number (MSISDN) associated with a device. As part of the frontend authorization flow, the device is redirected to the operator network to authenticate directly.

VerifyWithoutCodeAsync(String, NumberVerificationWithoutCodeContent, CancellationToken)

Verifies the phone number (MSISDN) associated with a device. As part of the frontend authorization flow, the device is redirected to the operator network to authenticate directly.

VerifyWithoutCodeAsync(String, RequestContent, RequestContext)

[Protocol Method] Verifies the phone number (MSISDN) associated with a device. As part of the frontend authorization flow, the device is redirected to the operator network to authenticate directly.

Applies to