Identity Provider API, gRPC: UserService.GetSelfPasswordMetadata
Written by
Updated at August 8, 2025
Returns metadata about the authenticated user's password.
gRPC request
rpc GetSelfPasswordMetadata (google.protobuf.Empty
google.protobuf.Empty
{}
|
Field |
Description |
|
Empty |
|
PasswordMetadata
{
"id": "string",
"type": "PasswordType",
"created_at": "google.protobuf.Timestamp",
"expires_at": "google.protobuf.Timestamp",
"last_usage": {
"used_at": "google.protobuf.Timestamp",
"ip_address": "string"
}
}
Metadata about a user's password.
|
Field |
Description |
|
id |
string Unique identifier of the password. |
|
type |
enum PasswordType Type of the password.
|
|
created_at |
Timestamp when the password was created. |
|
expires_at |
Timestamp when the password expires. |
|
last_usage |
Information about the last usage of the password. |
PasswordUsage
Information about password usage.
|
Field |
Description |
|
used_at |
Timestamp when the password was last used. |
|
ip_address |
string IP address from which the password was used. |