Categorygithub.com/BrenekH/go-plexauth
modulepackage
0.0.2
Repository: https://github.com/brenekh/go-plexauth.git
Documentation: pkg.go.dev

# README

Plex Authentication (in Go!)

GoDoc

Installation

As a Go library: go get github.com/BrenekH/go-plexauth

As a CLI: go install github.com/BrenekH/go-plexauth/cli@latest

# Packages

No description provided by the author

# Functions

GenerateAuthURL creates an authorization link that a user can visit to authorize an application.
GetPlexPIN requests a new claimable pin from the Plex API which can be used to authenticate a user.
GetPlexPINContext requests a new claimable pin from the Plex API which can be used to authenticate a user.
IsTokenValid checks if a Plex token is valid using the Plex API.
IsTokenValidContext checks if a Plex token is valid using the Plex API and a custom request context.
PollForAuthToken gets a new auth token by waiting for the user to authenticate the pin in a web browser.

# Structs

ExtraAuthURLOptions provides a way to provide extra metadata about the device being authorized.