brokenhandsio / vapor-oauth

OAuth2 Provider Library for Vapor
MIT License
133 stars 17 forks source link

RFC 7662 Token Introspection #2

Closed 0xTim closed 7 years ago

0xTim commented 7 years ago

Adds an implementation for RFC 7662 to provide a Token Introspection Endpoint for different resource servers to validate tokens with a separate server.

codecov[bot] commented 7 years ago

Codecov Report

Merging #2 into master will increase coverage by 1.71%. The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   90.85%   92.57%   +1.71%     
==========================================
  Files          25       33       +8     
  Lines         711      889     +178     
==========================================
+ Hits          646      823     +177     
- Misses         65       66       +1
Impacted Files Coverage Δ
.../TokenHandlers/ClientCredentialsTokenHandler.swift 100% <ø> (ø)
...rces/VaporOAuth/Utilities/TokenAuthenticator.swift 76.47% <ø> (ø)
Sources/VaporOAuth/Validators/CodeValidator.swift 100% <ø> (ø)
...Auth/DefaultImplementations/EmptyUserManager.swift 100% <ø> (ø)
Sources/VaporOAuth/Models/OAuthCode.swift 100% <ø> (ø)
...ultImplementations/EmptyAuthorizationHandler.swift 100% <ø> (ø)
...eHandlers/TokenHandlers/AuthCodeTokenHandler.swift 100% <ø> (ø)
Sources/VaporOAuth/Models/OAuthUser.swift 100% <ø> (ø)
Sources/VaporOAuth/Validators/ScopeValidator.swift 100% <ø> (ø)
...VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift 95.5% <ø> (ø)
... and 36 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 501e3e6...a2950c3. Read the comment docs.