diff --git a/oauth2-token-introspection-plus/oauth2.js b/oauth2-token-introspection-plus/oauth2.js index 9b679997..610f2e2b 100644 --- a/oauth2-token-introspection-plus/oauth2.js +++ b/oauth2-token-introspection-plus/oauth2.js @@ -15,7 +15,7 @@ * headers. These in turn are available to the auth_request location with the auth_request_set * directive. Each member of the response is available to nginx as $sent_http_token_ * - * Copyright (C) 2019 Nginx, Inc. + * Copyright (C) 2022 F5, Inc. */ function introspectAccessToken(r) { if (r.variables.token_data) { @@ -87,4 +87,6 @@ function tokenResult(r) { r.error("OAuth stored token introspection response is not JSON"); r.return(401); } -} \ No newline at end of file +} + +export default { introspectAccessToken }