OAuth2 integration for Rocket applications
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Jeb Rosen 9eb3aed5a1 chore: prepare 0.3.0 release pirms 4 dienas
examples feat: make 'redirect_uri' an optional configuration parameter pirms 3 nedēļām
src fix: make provider names case-insensitive in configuration pirms 4 dienas
.gitignore Initial publish to GitHub. pirms 1 gada
CHANGELOG.md chore: prepare 0.3.0 release pirms 4 dienas
Cargo.toml chore: prepare 0.3.0 release pirms 4 dienas
LICENSE-APACHE Initial publish to GitHub. pirms 1 gada
LICENSE-MIT Initial publish to GitHub. pirms 1 gada
README.md Initial publish to GitHub. pirms 1 gada

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: