A fork of https://github.com/teal-fm/piper
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package atproto
4
5// schema: com.atproto.server.revokeAppPassword
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/xrpc"
11)
12
13// ServerRevokeAppPassword_Input is the input argument to a com.atproto.server.revokeAppPassword call.
14type ServerRevokeAppPassword_Input struct {
15 Name string `json:"name" cborgen:"name"`
16}
17
18// ServerRevokeAppPassword calls the XRPC method "com.atproto.server.revokeAppPassword".
19func ServerRevokeAppPassword(ctx context.Context, c *xrpc.Client, input *ServerRevokeAppPassword_Input) error {
20 if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.server.revokeAppPassword", nil, input, nil); err != nil {
21 return err
22 }
23
24 return nil
25}