UserService_ListAuthenticationFactors
POST/v2/users/:userId/authentication_factors/_search
UserService_ListAuthenticationFactors
Request​
Path Parameters
Query Parameters
Possible values: [OTP
, OTP_SMS
, OTP_EMAIL
, U2F
]
Specify the Auth Factors you are interested in
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED
, AUTH_FACTOR_STATE_NOT_READY
, AUTH_FACTOR_STATE_READY
, AUTH_FACTOR_STATE_REMOVED
]
Specify the state of the Auth Factors
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
result
object[]
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED
, AUTH_FACTOR_STATE_NOT_READY
, AUTH_FACTOR_STATE_READY
, AUTH_FACTOR_STATE_REMOVED
]
Default value: AUTH_FACTOR_STATE_UNSPECIFIED
current state of the auth factor
TOTP second factor
u2f
object
U2F second factor
SMS second factor
Email second factor
{
"result": [
{
"state": "AUTH_FACTOR_STATE_UNSPECIFIED",
"otp": {},
"u2f": {
"id": "69629023906488334",
"name": "fido key"
},
"otpSms": {},
"otpEmail": {}
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
result
object[]
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED
, AUTH_FACTOR_STATE_NOT_READY
, AUTH_FACTOR_STATE_READY
, AUTH_FACTOR_STATE_REMOVED
]
Default value: AUTH_FACTOR_STATE_UNSPECIFIED
current state of the auth factor
TOTP second factor
u2f
object
U2F second factor
SMS second factor
Email second factor
{
"result": [
{
"state": "AUTH_FACTOR_STATE_UNSPECIFIED",
"otp": {},
"u2f": {
"id": "69629023906488334",
"name": "fido key"
},
"otpSms": {},
"otpEmail": {}
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
result
object[]
Possible values: [AUTH_FACTOR_STATE_UNSPECIFIED
, AUTH_FACTOR_STATE_NOT_READY
, AUTH_FACTOR_STATE_READY
, AUTH_FACTOR_STATE_REMOVED
]
Default value: AUTH_FACTOR_STATE_UNSPECIFIED
current state of the auth factor
TOTP second factor
u2f
object
U2F second factor
SMS second factor
Email second factor
{
"result": [
{
"state": "AUTH_FACTOR_STATE_UNSPECIFIED",
"otp": {},
"u2f": {
"id": "69629023906488334",
"name": "fido key"
},
"otpSms": {},
"otpEmail": {}
}
]
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}