Class PushNotificationClient
- Namespace
- Auth0.ManagementApi.Guardian.Factors
- Assembly
- Auth0.ManagementApi.dll
public class PushNotificationClient : IPushNotificationClient
- Inheritance
-
PushNotificationClient
- Implements
- Inherited Members
- Extension Methods
Methods
GetApnsProviderAsync(RequestOptions?, CancellationToken)
Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant.
public WithRawResponseTask<GetGuardianFactorsProviderApnsResponseContent> GetApnsProviderAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.GetApnsProviderAsync();
GetSelectedProviderAsync(RequestOptions?, CancellationToken)
Modify the push notification provider configured for your tenant. For more information, review Configure Push Notifications for MFA.
public WithRawResponseTask<GetGuardianFactorsProviderPushNotificationResponseContent> GetSelectedProviderAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.GetSelectedProviderAsync();
GetSnsProviderAsync(RequestOptions?, CancellationToken)
Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review Configure Push Notifications for MFA.
public WithRawResponseTask<GetGuardianFactorsProviderSnsResponseContent> GetSnsProviderAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.GetSnsProviderAsync();
SetApnsProviderAsync(SetGuardianFactorsProviderPushNotificationApnsRequestContent, RequestOptions?, CancellationToken)
Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant.
public WithRawResponseTask<SetGuardianFactorsProviderPushNotificationApnsResponseContent> SetApnsProviderAsync(SetGuardianFactorsProviderPushNotificationApnsRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestSetGuardianFactorsProviderPushNotificationApnsRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.SetApnsProviderAsync(
new SetGuardianFactorsProviderPushNotificationApnsRequestContent()
);
SetFcmProviderAsync(SetGuardianFactorsProviderPushNotificationFcmRequestContent, RequestOptions?, CancellationToken)
Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant.
public WithRawResponseTask<Dictionary<string, object?>> SetFcmProviderAsync(SetGuardianFactorsProviderPushNotificationFcmRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestSetGuardianFactorsProviderPushNotificationFcmRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.SetFcmProviderAsync(
new SetGuardianFactorsProviderPushNotificationFcmRequestContent()
);
SetFcmv1ProviderAsync(SetGuardianFactorsProviderPushNotificationFcmv1RequestContent, RequestOptions?, CancellationToken)
Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.
public WithRawResponseTask<Dictionary<string, object?>> SetFcmv1ProviderAsync(SetGuardianFactorsProviderPushNotificationFcmv1RequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestSetGuardianFactorsProviderPushNotificationFcmv1RequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.SetFcmv1ProviderAsync(
new SetGuardianFactorsProviderPushNotificationFcmv1RequestContent()
);
SetProviderAsync(SetGuardianFactorsProviderPushNotificationRequestContent, RequestOptions?, CancellationToken)
Modify the push notification provider configured for your tenant. For more information, review Configure Push Notifications for MFA.
public WithRawResponseTask<SetGuardianFactorsProviderPushNotificationResponseContent> SetProviderAsync(SetGuardianFactorsProviderPushNotificationRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestSetGuardianFactorsProviderPushNotificationRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.SetProviderAsync(
new SetGuardianFactorsProviderPushNotificationRequestContent
{
Provider = GuardianFactorsProviderPushNotificationProviderDataEnum.Guardian,
}
);
SetSnsProviderAsync(SetGuardianFactorsProviderPushNotificationSnsRequestContent, RequestOptions?, CancellationToken)
Configure the AWS SNS push notification provider configuration (subscription required).
public WithRawResponseTask<SetGuardianFactorsProviderPushNotificationSnsResponseContent> SetSnsProviderAsync(SetGuardianFactorsProviderPushNotificationSnsRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestSetGuardianFactorsProviderPushNotificationSnsRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.SetSnsProviderAsync(
new SetGuardianFactorsProviderPushNotificationSnsRequestContent()
);
UpdateApnsProviderAsync(UpdateGuardianFactorsProviderPushNotificationApnsRequestContent, RequestOptions?, CancellationToken)
Modify configuration details of the multi-factor authentication APNS provider associated with your tenant.
public WithRawResponseTask<UpdateGuardianFactorsProviderPushNotificationApnsResponseContent> UpdateApnsProviderAsync(UpdateGuardianFactorsProviderPushNotificationApnsRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestUpdateGuardianFactorsProviderPushNotificationApnsRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.UpdateApnsProviderAsync(
new UpdateGuardianFactorsProviderPushNotificationApnsRequestContent()
);
UpdateFcmProviderAsync(UpdateGuardianFactorsProviderPushNotificationFcmRequestContent, RequestOptions?, CancellationToken)
Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.
public WithRawResponseTask<Dictionary<string, object?>> UpdateFcmProviderAsync(UpdateGuardianFactorsProviderPushNotificationFcmRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestUpdateGuardianFactorsProviderPushNotificationFcmRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.UpdateFcmProviderAsync(
new UpdateGuardianFactorsProviderPushNotificationFcmRequestContent()
);
UpdateFcmv1ProviderAsync(UpdateGuardianFactorsProviderPushNotificationFcmv1RequestContent, RequestOptions?, CancellationToken)
Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.
public WithRawResponseTask<Dictionary<string, object?>> UpdateFcmv1ProviderAsync(UpdateGuardianFactorsProviderPushNotificationFcmv1RequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestUpdateGuardianFactorsProviderPushNotificationFcmv1RequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.UpdateFcmv1ProviderAsync(
new UpdateGuardianFactorsProviderPushNotificationFcmv1RequestContent()
);
UpdateSnsProviderAsync(UpdateGuardianFactorsProviderPushNotificationSnsRequestContent, RequestOptions?, CancellationToken)
Configure the AWS SNS push notification provider configuration (subscription required).
public WithRawResponseTask<UpdateGuardianFactorsProviderPushNotificationSnsResponseContent> UpdateSnsProviderAsync(UpdateGuardianFactorsProviderPushNotificationSnsRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestUpdateGuardianFactorsProviderPushNotificationSnsRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Guardian.Factors.PushNotification.UpdateSnsProviderAsync(
new UpdateGuardianFactorsProviderPushNotificationSnsRequestContent()
);