Skip to main content

Module oauth

Module oauth 

Source

Structs§

AuthorizeRequest
HubRefreshToken
Tokens

Enums§

Refresh

Constants§

HUB_SCOPE
Hub’s own service ID; adding it to the scope lets yt manage its refresh tokens.

Functions§

authorize_url
delete_refresh_token
exchange_code
find_issued
The refresh token yt was issued at created: same client, closest in time, within two minutes.
help_for
issued_refresh_token
Finds the Hub and the refresh token of the sign-in made at created; needs a revocable sign-in.
list_refresh_tokens
preflight
Sends the authorize request without following redirects, so a rejected request fails here with Hub’s reason; Hub’s own error page can fail to render.
refresh
scope