[][src]Module twitch_irc::login

Logic for getting credentials to log into chat with.

Structs

CredentialsPair

A pair of login name and OAuth token.

RefreshingLoginCredentials

Login credentials backed by a token storage and using OAuth refresh tokens, allowing use of OAuth tokens that expire

StaticLoginCredentials

Simple LoginCredentials implementation that always returns the same CredentialsPair and never fails.

UserAccessToken

The necessary details about a Twitch OAuth Access Token. This information is provided by Twitch's OAuth API after completing the user's authorization.

Enums

RefreshingLoginError

Error type for the RefreshingLoginCredentials implementation.

Traits

LoginCredentials

Encapsulates logic for getting the credentials to log into chat, whenever a new connection is made.

TokenStorage

Load and store the currently valid version of the user's OAuth Access Token.