tokkit
tokkit
is a simple(even simplistic) token toolkit for OAUTH2 token
introspection
Adding tokkit to your project
tokkit is available on crates.io.
Documentation
The documentation is available online.
Features
async
: Adds ahyper
based async client. See alsoTokenInfoServiceClientBuilder
metrix
: Add support for the metrix crate(async client only) See alsoTokenInfoServiceClientBuilder
Verify Access Tokens
tokkit
contains a module token_info
for protected resources to verify access tokens.
use *;
use *;
let builder = google_v3;
let service = builder.build.unwrap;
let token = new;
let tokeninfo = service.introspect.unwrap;
Recent changes
- 0.10.1
- Made futures
Send
+'static
- Made futures
- 0.10.0
- Remove executor and use hyper runtime
- 0.9.0
- Use hyper 0.12
License
tokkit is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
Copyright (c) 2017 Christian Douven Token verification for protected resources on resource servers.
See OAuth 2.0 Token Introspection and Roles
License: Apache-2.0/MIT