NumberVerification Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기