two_factor_info
Creates, updates, deletes, gets or lists a two_factor_info resource.
Overview​
| Name | two_factor_info |
| Type | Resource |
| Id | railway.account.two_factor_info |
Fields​
The following fields are returned by SELECT queries:
- get
One TwoFactorInfo row.
| Name | Datatype | Description |
|---|---|---|
has_recovery_codes | boolean | |
is_verified | boolean |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Gets 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.
| Name | Datatype | Description |
|---|
SELECT examples​
- get
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
;