Skip to main content

two_factor_info

Creates, updates, deletes, gets or lists a two_factor_info resource.

Overview​

Nametwo_factor_info
TypeResource
Idrailway.account.two_factor_info

Fields​

The following fields are returned by SELECT queries:

One TwoFactorInfo row.

NameDatatypeDescription
has_recovery_codesboolean
is_verifiedboolean

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets the TwoFactorInfo for the authenticated user. Backed by the Railway GraphQL query twoFactorInfo.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples​

Gets the TwoFactorInfo for the authenticated user. Backed by the Railway GraphQL query twoFactorInfo.

SELECT
has_recovery_codes,
is_verified
FROM railway.account.two_factor_info
;