account

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateLabelDefs

func UpdateLabelDefs(ctx context.Context, client *xrpc.Client, defs *bsky.LabelerDefs_LabelerPolicies) error

UpdateLabelDefs checks if labeler policy of the account that `client` is logged in with is the same as `defs`. If it doesn't - it will try to update it.

func UpdateSigningKeyAndEndpoint

func UpdateSigningKeyAndEndpoint(ctx context.Context, client *xrpc.Client, token string, publicKey string, endpoint string) error

UpdateSigningKeyAndEndpoint updates labeler's public key and (optionally) endpoint, if the current values in PLC are different.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL