hidglobal / oauth-2.0-sdk-with-openid-connect-extensions Goto Github PK
View Code? Open in Web Editor NEWFork of Nimbus OAuth 2.0 SDK with OpenID Connect extensions
License: Apache License 2.0
Fork of Nimbus OAuth 2.0 SDK with OpenID Connect extensions
License: Apache License 2.0
Nimbus OAuth 2.0 SDK with OpenID Connect extensions Copyright (c) Connect2id Ltd., 2012 - 2016 README This open source Java library is your starting point for developing OAuth 2.0 and OpenID Connect based applications: * Developing OAuth 2.0 servers: - Parse and process requests at the Authorisation Endpoint, then generate the appropriate responses with an authorisation code or access token; - Parse and process requests at the Token Endpoint, then generate the appropriate responses; - Parse and process requests at the Token Introspection Endpoint; - Parse and process requests at the Token Revocation Endpoint; - Parse and process requests at the Client Registration Endpoint, then generate the appropriate responses. * Developing OAuth 2.0 clients: - Make requests to an OAuth 2.0 Authorisation Endpoint and parse the responses; - Make requests to an OAuth 2.0 Token Endpoint and parse the responses; - Make requests to an OAuth 2.0 Token Introspection Endpoint and process the responses; - Make requests to an OAuth 2.0 Token Revocation Endpoint and parse the responses; - Make requests to a protected resource using an OAuth 2.0 access token. * Developing OpenID Connect provider (OP) servers: - Parse and process requests at the OpenID Connect Authorisation Endpoint, then generate the appropriate responses with an authorisation code, ID Token and / or UserInfo access token; - Parse and process requests at the OpenID Connect Token Endpoint, then generate the appropriate responses; - Parse and process requests at the OpenID Connect UserInfo Endpoint, then generate the appropriate responses; - Parse and process requests at the OpenID Connect Client Registration Endpoint, then generate the appropriate responses; - Parse and process requests at the OpenID Connect End-Session (Logout) Endpoint. * Developing OpenID Connect relying party (RP) clients: - Make requests to an OpenID Connect Authorisation Endpoint and process the responses; - Make requests to an OpenID Connect Token Endpoint and process the responses; - Make requests to an OpenID Connect UserInfo Endpoint and process the responses; - Make requests to an OpenID Connect Client Registration Endpoint and process the responses. - Make requests to an OpenID Connect End-Session (Logout) Endpoint. Additional features: * Process plain, signed and encrypted JSON Web Tokens (JWTs) with help of the Nimbus JOSE+JWT library. * Full OpenID Connect UserInfo i10n and l10n support with help of the Nimbus Language Tags (RFC 5646) library. This SDK version implements the following standards and drafts: * The OAuth 2.0 Authorization Framework (RFC 6749) * The OAuth 2.0 Authorization Framework: Bearer Token Usage (RFC 6750) * OAuth 2.0 Token Introspection (RFC 7662) * OAuth 2.0 Token Revocation (RFC 7009) * OAuth 2.0 Dynamic Client Registration Protocol (RFC 7591) * OAuth 2.0 Dynamic Client Registration Management Protocol (RFC 7592) * Assertion Framework for OAuth 2.0 Client Authentication and Authorization Grants (RFC 7521) * JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC 7523) * SAML 2.0 Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC 7522) * Proof Key for Code Exchange by OAuth Public Clients (RFC 7636) * Authentication Method Reference Values (draft-jones-oauth-amr-values-02) * OpenID Connect Core 1.0 (2014-02-25). * OpenID Connect Discovery 1.0 (2014-02-25). * OpenID Connect Dynamic Registration 1.0 (2014-02-25). * OpenID Connect Session Management 1.0 (2014-11-08). * OAuth 2.0 Multiple Response Type Encoding Practices 1.0 (2014-02-25). This SDK is provided under the terms of the Apache 2.0 licence. Questions or comments? Email [email protected] 2016-01-07
Hi,
I notice if token request is constructed like this.
TokenRequest tokenRequest = new TokenRequest(tokenUri, clientAuthentication, authorizationCodeGrant);
and client id resides in clientauthentication
The client id is null in tokenRequest instance.
Is there any specific reason for that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.