OAuth2 integration for Rocket applications
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Jeb Rosen 9eb3aed5a1 chore: prepare 0.3.0 release vor 4 Tagen
examples feat: make 'redirect_uri' an optional configuration parameter vor 3 Wochen
src fix: make provider names case-insensitive in configuration vor 4 Tagen
.gitignore Initial publish to GitHub. vor 1 Jahr
CHANGELOG.md chore: prepare 0.3.0 release vor 4 Tagen
Cargo.toml chore: prepare 0.3.0 release vor 4 Tagen
LICENSE-APACHE Initial publish to GitHub. vor 1 Jahr
LICENSE-MIT Initial publish to GitHub. vor 1 Jahr
README.md Initial publish to GitHub. vor 1 Jahr

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: