OAuth2 integration for Rocket applications
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Jeb Rosen fff1fdda87 Improve documentation on Provider specification. 6日前
examples Add a full example for custom provider configuration. 6日前
src Improve documentation on Provider specification. 6日前
.gitignore Initial publish to GitHub. 1年前
CHANGELOG.md Prepare 0.2.0-rc.1 release. 4ヶ月前
Cargo.toml Add a full example for custom provider configuration. 6日前
LICENSE-APACHE Initial publish to GitHub. 1年前
LICENSE-MIT Initial publish to GitHub. 1年前
README.md Initial publish to GitHub. 1年前

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: