Skip to content

Latest commit

 

History

History
395 lines (211 loc) · 11.5 KB

Oauth2Api.md

File metadata and controls

395 lines (211 loc) · 11.5 KB

\Oauth2Api

All URIs are relative to http://localhost/api/v3

Method HTTP request Description
oauth2_access_tokens_destroy DELETE /oauth2/access_tokens/{id}/
oauth2_access_tokens_list GET /oauth2/access_tokens/
oauth2_access_tokens_retrieve GET /oauth2/access_tokens/{id}/
oauth2_access_tokens_used_by_list GET /oauth2/access_tokens/{id}/used_by/
oauth2_authorization_codes_destroy DELETE /oauth2/authorization_codes/{id}/
oauth2_authorization_codes_list GET /oauth2/authorization_codes/
oauth2_authorization_codes_retrieve GET /oauth2/authorization_codes/{id}/
oauth2_authorization_codes_used_by_list GET /oauth2/authorization_codes/{id}/used_by/
oauth2_refresh_tokens_destroy DELETE /oauth2/refresh_tokens/{id}/
oauth2_refresh_tokens_list GET /oauth2/refresh_tokens/
oauth2_refresh_tokens_retrieve GET /oauth2/refresh_tokens/{id}/
oauth2_refresh_tokens_used_by_list GET /oauth2/refresh_tokens/{id}/used_by/

oauth2_access_tokens_destroy

oauth2_access_tokens_destroy(id)

AccessToken Viewset

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this OAuth2 Access Token. [required]

Return type

(empty response body)

Authorization

authentik

HTTP request headers

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

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

oauth2_access_tokens_list

models::PaginatedTokenModelList oauth2_access_tokens_list(ordering, page, page_size, provider, search, user)

AccessToken Viewset

Parameters

Name Type Description Required Notes
ordering Option<String> Which field to use when ordering the results.
page Option<i32> A page number within the paginated result set.
page_size Option<i32> Number of results to return per page.
provider Option<i32>
search Option<String> A search term.
user Option<i32>

Return type

models::PaginatedTokenModelList

Authorization

authentik

HTTP request headers

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

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

oauth2_access_tokens_retrieve

models::TokenModel oauth2_access_tokens_retrieve(id)

AccessToken Viewset

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this OAuth2 Access Token. [required]

Return type

models::TokenModel

Authorization

authentik

HTTP request headers

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

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

oauth2_access_tokens_used_by_list

Vecmodels::UsedBy oauth2_access_tokens_used_by_list(id)

Get a list of all objects that use this object

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this OAuth2 Access Token. [required]

Return type

Vecmodels::UsedBy

Authorization

authentik

HTTP request headers

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

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

oauth2_authorization_codes_destroy

oauth2_authorization_codes_destroy(id)

AuthorizationCode Viewset

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this Authorization Code. [required]

Return type

(empty response body)

Authorization

authentik

HTTP request headers

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

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

oauth2_authorization_codes_list

models::PaginatedExpiringBaseGrantModelList oauth2_authorization_codes_list(ordering, page, page_size, provider, search, user)

AuthorizationCode Viewset

Parameters

Name Type Description Required Notes
ordering Option<String> Which field to use when ordering the results.
page Option<i32> A page number within the paginated result set.
page_size Option<i32> Number of results to return per page.
provider Option<i32>
search Option<String> A search term.
user Option<i32>

Return type

models::PaginatedExpiringBaseGrantModelList

Authorization

authentik

HTTP request headers

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

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

oauth2_authorization_codes_retrieve

models::ExpiringBaseGrantModel oauth2_authorization_codes_retrieve(id)

AuthorizationCode Viewset

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this Authorization Code. [required]

Return type

models::ExpiringBaseGrantModel

Authorization

authentik

HTTP request headers

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

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

oauth2_authorization_codes_used_by_list

Vecmodels::UsedBy oauth2_authorization_codes_used_by_list(id)

Get a list of all objects that use this object

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this Authorization Code. [required]

Return type

Vecmodels::UsedBy

Authorization

authentik

HTTP request headers

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

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

oauth2_refresh_tokens_destroy

oauth2_refresh_tokens_destroy(id)

RefreshToken Viewset

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this OAuth2 Refresh Token. [required]

Return type

(empty response body)

Authorization

authentik

HTTP request headers

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

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

oauth2_refresh_tokens_list

models::PaginatedTokenModelList oauth2_refresh_tokens_list(ordering, page, page_size, provider, search, user)

RefreshToken Viewset

Parameters

Name Type Description Required Notes
ordering Option<String> Which field to use when ordering the results.
page Option<i32> A page number within the paginated result set.
page_size Option<i32> Number of results to return per page.
provider Option<i32>
search Option<String> A search term.
user Option<i32>

Return type

models::PaginatedTokenModelList

Authorization

authentik

HTTP request headers

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

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

oauth2_refresh_tokens_retrieve

models::TokenModel oauth2_refresh_tokens_retrieve(id)

RefreshToken Viewset

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this OAuth2 Refresh Token. [required]

Return type

models::TokenModel

Authorization

authentik

HTTP request headers

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

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

oauth2_refresh_tokens_used_by_list

Vecmodels::UsedBy oauth2_refresh_tokens_used_by_list(id)

Get a list of all objects that use this object

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this OAuth2 Refresh Token. [required]

Return type

Vecmodels::UsedBy

Authorization

authentik

HTTP request headers

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

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