/** * Agilicus API * Agilicus is API-first. Modern software is controlled by other software, is open, is available for you to use the way you want, securely, simply. The OpenAPI Specification in YAML format is available on [www](https://www.agilicus.com/www/api/agilicus-openapi.yaml) for importing to other tools. A rendered, online viewable and usable version of this specification is available at [api](https://www.agilicus.com/api). You may try the API inline directly in the web page. To do so, first obtain an Authentication Token (the simplest way is to install the Python SDK, and then run `agilicus-cli --issuer https://MYISSUER get-token`). You will need an org-id for most calls (and can obtain from `agilicus-cli --issuer https://MYISSUER list-orgs`). The `MYISSUER` will typically be `auth.MYDOMAIN`, and you will see it as you sign-in to the administrative UI. This API releases on Bearer-Token authentication. To obtain a valid bearer token you will need to Authenticate to an Issuer with OpenID Connect (a superset of OAUTH2). Your \"issuer\" will look like https://auth.MYDOMAIN. For example, when you signed-up, if you said \"use my own domain name\" and assigned a CNAME of cloud.example.com, then your issuer would be https://auth.cloud.example.com. If you selected \"use an Agilicus supplied domain name\", your issuer would look like https://auth.myorg.agilicus.cloud. For test purposes you can use our [Python SDK](https://pypi.org/project/agilicus/) and run `agilicus-cli --issuer https://auth.MYDOMAIN get-token`. This API may be used in any language runtime that supports OpenAPI 3.0, or, you may use our [Python SDK](https://pypi.org/project/agilicus/), our [Typescript SDK](https://www.npmjs.com/package/@agilicus/angular), or our [Golang SDK](https://git.agilicus.com/pub/sdk-go). 100% of the activities in our system our API-driven, from our web-admin, through our progressive web applications, to all internals: there is nothing that is not accessible. For more information, see [developer resources](https://www.agilicus.com/developer). * * The version of the OpenAPI document: 2025.12.16 * Contact: dev@agilicus.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export interface _AgentConnectorAuthzStats { /** * The number of allowed requests. */ allowed: number; /** * The authz has been allowed due to the authentication handled by the application. */ allowed_app_handled: number; /** * The number of denied requests. */ denied: number; /** * The number of redirected requests. */ redirected: number; /** * The number of times a failed lookup response was returned that had been cached. */ token_cached_failed: number; /** * The number of times a successful lookup response was returned that had been cached. */ token_cached_success: number; /** * The number of times a there was a failure parsing the token. This is due to missing claims in the token. */ token_parse_failed: number; /** * The number of times a static token was used in a request. */ token_static_token: number; /** * The number of times the token JTI was missing. */ token_bad_jti: number; /** * The number of times a token introspect was performed and the result was success. */ token_lookup_success: number; /** * The number of times a token introspect was performed and the result was not found. */ token_lookup_notfound: number; /** * The number of times a token introspect was performed and the result was a bad request */ token_lookup_badrequest: number; /** * The number of times a token introspect was performed and the result was a 4xx result that was not a 404, 410 or 400. */ token_lookup_4xx_other: number; /** * The number of times a token introspect was performed and the result was an error. */ token_lookup_error: number; /** * The number of times a token introspect was performed and the result returned was that the token has been revoked. */ token_lookup_revoked: number; /** * The number of times a request was made with basic auth and the base64 decode failed. */ token_basic_auth_decode_fail: number; /** * The number of times a request was made with basic auth and the basic auth string was too long. The maximum size permitted is 141 characters. */ token_basic_auth_too_long: number; /** * The number of times a request was made with basic auth and the password was missing. */ token_basic_auth_no_password: number; /** * The number of times a request was made with basic auth and the successful result was returned from the cache. */ token_basic_auth_cached_success: number; /** * The number of times a request was made with basic auth and the failed result was returned from the cache. */ token_basic_auth_cached_failed: number; /** * The number of times a request was made with a bearer token that was determined to not originate from Agilicus. If the bearer token is not from Agilicus, the system will attempt to retreive the token from the cookie if available. */ token_bearer_not_agilicus: number; /** * The number of times a token introspect retrieved the token from the cookie, rather than the authorization bearer. */ token_from_cookie: number; /** * The number of times a token introspect retrieved the token from the authorization bearer, rather than from the cookie. */ token_from_bearer: number; /** * The number of times a token introspect retrieved the token from an api key via the basic authorization header. */ token_from_api_key: number; /** * The number of requests which were denied because a multifactor challenge was required. */ challenge_required?: number; /** * The number of requests which were denied because a multifactor challenge was required and a webpush was initiated successfully. Note that when this is counted, it will also increment challenge_required. */ challenge_webpush_initiated?: number; /** * The number of requests which were denied because a multifactor challenge was required and a webpush was attempted but failed. Note that when this is counted, it will also increment the challenge_required. */ challenge_webpush_failure?: number; /** * The number of times a response is forged to handle CORS */ forged_cors?: number; } export interface AgentConnectorAuthzStats extends _AgentConnectorAuthzStats { _builtin_original?: _AgentConnectorAuthzStats; _remove_builtin_extensions?: () => void; } export declare class AgentConnectorAuthzStatsImpl implements _AgentConnectorAuthzStats { _builtin_original?: _AgentConnectorAuthzStats; allowed: number; allowed_app_handled: number; denied: number; redirected: number; token_cached_failed: number; token_cached_success: number; token_parse_failed: number; token_static_token: number; token_bad_jti: number; token_lookup_success: number; token_lookup_notfound: number; token_lookup_badrequest: number; token_lookup_4xx_other: number; token_lookup_error: number; token_lookup_revoked: number; token_basic_auth_decode_fail: number; token_basic_auth_too_long: number; token_basic_auth_no_password: number; token_basic_auth_cached_success: number; token_basic_auth_cached_failed: number; token_bearer_not_agilicus: number; token_from_cookie: number; token_from_bearer: number; token_from_api_key: number; challenge_required: number | undefined; challenge_webpush_initiated: number | undefined; challenge_webpush_failure: number | undefined; forged_cors: number | undefined; constructor(base: _AgentConnectorAuthzStats); _remove_builtin_extensions(): void; } export declare function newAgentConnectorAuthzStatsImpl(base: _AgentConnectorAuthzStats): AgentConnectorAuthzStatsImpl;