web_backend: added GetExternalJWT function
To support requesting external JWTs to use them as verification tokens.
This commit is contained in:
parent
ab335ccf1b
commit
e04f75e1bf
2 changed files with 14 additions and 1 deletions
|
@ -46,6 +46,13 @@ public:
|
|||
Common::WebResult DeleteJson(const std::string& path, const std::string& data,
|
||||
bool allow_anonymous);
|
||||
|
||||
/**
|
||||
* Requests an external JWT for the specific audience provided.
|
||||
* @param audience the audience of the JWT requested.
|
||||
* @return the result of the request.
|
||||
*/
|
||||
Common::WebResult GetExternalJWT(const std::string& audience);
|
||||
|
||||
private:
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> impl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue