abstract class
Crabbit::OAuth2TokenProvider
- Crabbit::OAuth2TokenProvider
- Reference
- Object
Overview
Provider interface for retrieving OAuth 2 access tokens.
Implement this type for non-standard grants, external credential agents, or
pre-existing token caches. Implementations may block the calling fiber and
should raise OAuth2Error with actionable context on failure.
Direct Known Subclasses
Defined in:
crabbit/oauth2.crInstance Method Summary
-
#request : OAuth2Token
Retrieves a non-expired access token.