Skip to content

Latest commit

 

History

History
223 lines (128 loc) · 7.47 KB

AuthorizationApiApi.md

File metadata and controls

223 lines (128 loc) · 7.47 KB

\AuthorizationApiApi

All URIs are relative to http://localhost

Method HTTP request Description
get_user_permissions_user_permissions_post POST /user-permissions Get User Permissions
get_user_tenants_user_tenants_post POST /user-tenants Get User Tenants
is_allowed_all_tenants_allowed_all_tenants_post POST /allowed/all-tenants Is Allowed All Tenants
is_allowed_allowed_post POST /allowed Is Allowed
is_allowed_bulk_allowed_bulk_post POST /allowed/bulk Is Allowed Bulk
is_allowed_kong_kong_post POST /kong Is Allowed Kong
is_allowed_url_allowed_url_post POST /allowed_url Is Allowed Url

get_user_permissions_user_permissions_post

std::collections::HashMap<String, models::UserPermissionsResult> get_user_permissions_user_permissions_post(user_permissions_query, authorization, x_permit_sdk_language) Get User Permissions

Parameters

Name Type Description Required Notes
user_permissions_query UserPermissionsQuery [required]
authorization Option<serde_json::Value>
x_permit_sdk_language Option<String>

Return type

std::collections::HashMap<String, models::UserPermissionsResult>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_user_tenants_user_tenants_post

Vecmodels::TenantDetails get_user_tenants_user_tenants_post(user_tenants_query, authorization, x_permit_sdk_language) Get User Tenants

Parameters

Name Type Description Required Notes
user_tenants_query UserTenantsQuery [required]
authorization Option<serde_json::Value>
x_permit_sdk_language Option<String>

Return type

Vecmodels::TenantDetails

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

is_allowed_all_tenants_allowed_all_tenants_post

models::AllTenantsAuthorizationResult is_allowed_all_tenants_allowed_all_tenants_post(authorization_query, authorization, x_permit_sdk_language) Is Allowed All Tenants

Parameters

Name Type Description Required Notes
authorization_query AuthorizationQuery [required]
authorization Option<serde_json::Value>
x_permit_sdk_language Option<String>

Return type

models::AllTenantsAuthorizationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

is_allowed_allowed_post

models::AuthorizationResult is_allowed_allowed_post(query, authorization, x_permit_sdk_language) Is Allowed

Parameters

Name Type Description Required Notes
query Query [required]
authorization Option<serde_json::Value>
x_permit_sdk_language Option<String>

Return type

models::AuthorizationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

is_allowed_bulk_allowed_bulk_post

models::BulkAuthorizationResult is_allowed_bulk_allowed_bulk_post(authorization_query, authorization, x_permit_sdk_language) Is Allowed Bulk

Parameters

Name Type Description Required Notes
authorization_query Vecmodels::AuthorizationQuery [required]
authorization Option<serde_json::Value>
x_permit_sdk_language Option<String>

Return type

models::BulkAuthorizationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

is_allowed_kong_kong_post

models::KongAuthorizationResult is_allowed_kong_kong_post(kong_authorization_query) Is Allowed Kong

Parameters

Name Type Description Required Notes
kong_authorization_query KongAuthorizationQuery [required]

Return type

models::KongAuthorizationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

is_allowed_url_allowed_url_post

models::AuthorizationResult is_allowed_url_allowed_url_post(url_authorization_query, authorization, x_permit_sdk_language) Is Allowed Url

Parameters

Name Type Description Required Notes
url_authorization_query UrlAuthorizationQuery [required]
authorization Option<serde_json::Value>
x_permit_sdk_language Option<String>

Return type

models::AuthorizationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]