plex_pin_auth
Functions
pub fn create_pin(
client_id client_identifier: String,
) -> Result(PlexPin, PlexError)
Creates a Plex pin from the Plex API. Requires a client identifier.
pub fn get_token(
client_id client_identifier: String,
id pin_id: Int,
) -> Result(PlexPin, PlexError)
Returns the Plex pin object from the Plex API. Requires a client identifier and the pin ID.
If the Plex pin hasn’t been linked (plex.tv/link) then the ‘auth_token’ field will be empty.