The shelf_oauth library.

This is an awesome library. More dartdocs go here.

Typedefs

ClientIdFactory(Request r) ClientId

OAuth2ProviderFactory(Request r) OAuth2Provider

SessionIdentifierExtractor(Request request) → Future<String>

Functions

oauth2AuthorizationTemplate(Uri baseUri) → UriTemplate

Classes

ClientId

Represents the client application's credentials.

InMemoryOAuth1RequestTokenSecretStore

An in memory implementation of OAuth1RequestTokenSecretStore suitable for testing only

InMemoryOAuth2CSRFStateStore

An in memory implementation of OAuth2CSRFStateStore suitable for testing only

InMemoryOAuth2TokenStore

InMemoryOAuthStorage

OAuth1Provider

A provider of OAuth services

OAuth1ProviderHandlers

shelf Handler's for the oauth1 dance

OAuth1RequestTokenSecretStore

A store for OAuth1 request token secrets. Tokens are only stored for a short time during the oauth1 dance

OAuth1Token

OAuth2CSRFStateStore

A store for OAuth2 request 'state' parameters which are used to prevent CSRF attacks on the redirection Uri. State values are only stored for a short time during the oauth2 dance

OAuth2Provider

A provider of OAuth services

OAuth2ProviderHandlers

shelf Handler's for the oauth2 dance

OAuth2State

OAuth2Token

OAuth2TokenPair

OAuth2TokenStore

OAuthStorage

OAuthToken

Outh2GrantType

Outh2ResponseType