Skip to content

Commit

Permalink
proposal with list of refresh ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Sep 21, 2023
1 parent 07aac6c commit df9847b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion protocol/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,11 @@ type CredentialRefreshMessage struct {

// CredentialRefreshMessageBody is msg body for refresh message
type CredentialRefreshMessageBody struct {
ID string `json:"id"`
Refresh []Refresh `json:"refresh"`
}

// Refresh is struct the represents refresh request
type Refresh struct {
ID string `json:"id"`
Reason string `json:"reason"`
}

0 comments on commit df9847b

Please sign in to comment.