OAuth2 integration for Rocket applications
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Jeb Rosen fff1fdda87 Improve documentation on Provider specification. hace 1 mes
examples Add a full example for custom provider configuration. hace 1 mes
src Improve documentation on Provider specification. hace 1 mes
.gitignore Initial publish to GitHub. hace 1 año
CHANGELOG.md Prepare 0.2.0-rc.1 release. hace 5 meses
Cargo.toml Add a full example for custom provider configuration. hace 1 mes
LICENSE-APACHE Initial publish to GitHub. hace 1 año
LICENSE-MIT Initial publish to GitHub. hace 1 año
README.md Initial publish to GitHub. hace 1 año

README.md

rocket_oauth2

rocket_oauth2 makes it easy to use OAuth2 in Rocket applications:

  • Facilitates OAuth 2.0 client functionality to obtain authorization from users.
  • Handles the authorization callback and token exchange.
  • Runs an application-specific callback when a token has been successfully obtained.
  • Optionally mounts a login route that redirects to the authorization endpoint.
  • Supports attachment of multiple callbacks and service providers.

Example

See the examples directory for more details, including the implementations of GitHubCallback and GoogleCallback.

License

rocket_oauth2 is licensed under either of the following, at your option: