|
10Duke Enterprise C++ SDK
|
Public Member Functions | |
| OIDCResourceOwnerPasswordRequest (const std::shared_ptr< const ::tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const std::string &clientId, const std::shared_ptr< const ::tenduke::jwt::JWTParser > &jwtParser, const std::shared_ptr<::tenduke::time::Clock > &clock, const std::string &nonce, std::unique_ptr< const ::tenduke::oauth::ropg::OAuthResourceOwnerPasswordRequest > request) | |
| virtual std::unique_ptr<::tenduke::oidc::OIDCState > | accessTokenRequest () |
| virtual void | cancel () |
| Public Member Functions inherited from tenduke::oidc::BaseOIDCRequest | |
| BaseOIDCRequest (const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > &oidcConfiguration, std::string clientId, const std::shared_ptr< const tenduke::jwt::JWTParser > &jwtParser, const std::shared_ptr< tenduke::time::Clock > &clock, std::string nonce) | |
| Constructs new instance. | |
Additional Inherited Members | |
| Protected Member Functions inherited from tenduke::oidc::BaseOIDCRequest | |
| virtual std::unique_ptr< tenduke::oidc::OIDCState > | toOIDCState (tenduke::oauth::OAuthState &oauthState) const |
| Creates OIDCState from OAuthState. | |
| virtual tenduke::oidc::IdToken | parseIdToken (const std::string &serializedIdToken, const std::string &expectedNonce) const |
| Parses id token. | |
| virtual void | validateAudience (const tenduke::oidc::IdToken &idToken) const |
| Validates ID-token "aud" and "azp" claims against the client id. | |
| virtual void | validateTimes (const tenduke::oidc::IdToken &idToken) const |
| Validates ID-token time claims "exp" (required), "nbf" and "iat" against current time, allowing clock skew of OIDCConfiguration::allowedClockSkewS. | |
| Static Protected Member Functions inherited from tenduke::oidc::BaseOIDCRequest | |
| static std::vector< std::string > | getAudiences (const tenduke::oidc::IdToken &idToken) |
| Returns the ID-token audiences: "aud" can be a single string or an array of strings. | |
| Protected Attributes inherited from tenduke::oidc::BaseOIDCRequest | |
| const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > | oidcConfiguration |
| OIDC-configuration. | |
| const std::string | clientId |
| OAuth client id of this client, expected in ID-token "aud" (and "azp") claim. | |
| const std::shared_ptr< const tenduke::jwt::JWTParser > | parseJWT |
| JWT parser. | |
| const std::shared_ptr< tenduke::time::Clock > | clock |
| Clock for validating ID-token time claims. | |