Kernel::WebApp::Util::TwoFactor::SMS

NAME

Kernel::WebApp::Util::TwoFactor::SMS – Two-factor authentication method sms.

PUBLIC INTERFACE

has _CloudServiceDataConfig

Attribute that holds the phone number field of the two-factor authentication mechanism.

has _PhoneField

Attribute that holds the phone number field of the two-factor authentication mechanism.

TwoFactorMethod()

Defines the internal TwoFactorMethod name of the two-factor authentication mechanism module.

GetEnterSetupCodeMessage()

Get the enter setup code message of the two-factor authentication method.

GetEnterVerificationCodeMessage()

Get the enter verification code message of the two-factor authentication method.

GetRequestVerificationCodeMessage()

Get the readable verification code label of the two-factor authentication method.

TransportFieldValue()

Get the transport field value for the given user.

SendTokenViaTransport()

Generate a new /OTP token and send the generated token via the transport to the user.

SendSetupTokenViaTransport()

Generate a new /OTP token for the setup and send the generated token via the transport to the user.

PRIVATE INTERFACE

_SendSMS()

Send the SM with the given body.

_HealthCheck()

Check the health of the /SMS cloud service and other needed configuration (e.g. the user mobile number).

_MarkPhoneNumberAsUnreadable()

Mark the given phone number as unreadable (e.g. +491********12).

_BuildCloudServiceDataConfig()

Set the phone number field name.

_BuildPhoneField()

Set the phone number field name.

Scroll to Top