View Source ActivityPubClient.Client (ActivityPubClient v0.1.2)

Interface for handling %OAuth2.Client{} structs (see OAuth2.Client).

Link to this section Summary

Functions

Gets a valid %OAuth2.Client{} struct.

Sets the OAuth2 code as returned to the user after authorizing the application.

Link to this section Functions

Gets a valid %OAuth2.Client{} struct.

Expects the URL of the server and an ActivityPub ID (most of the time it corresponds to the user profile URL).

Sets the OAuth2 code as returned to the user after authorizing the application.