All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
providersAllDestroy | DELETE /providers/all/{id}/ | |
providersAllList | GET /providers/all/ | |
providersAllRetrieve | GET /providers/all/{id}/ | |
providersAllTypesList | GET /providers/all/types/ | |
providersAllUsedByList | GET /providers/all/{id}/used_by/ | |
providersLdapCreate | POST /providers/ldap/ | |
providersLdapDestroy | DELETE /providers/ldap/{id}/ | |
providersLdapList | GET /providers/ldap/ | |
providersLdapPartialUpdate | PATCH /providers/ldap/{id}/ | |
providersLdapRetrieve | GET /providers/ldap/{id}/ | |
providersLdapUpdate | PUT /providers/ldap/{id}/ | |
providersLdapUsedByList | GET /providers/ldap/{id}/used_by/ | |
providersOauth2Create | POST /providers/oauth2/ | |
providersOauth2Destroy | DELETE /providers/oauth2/{id}/ | |
providersOauth2List | GET /providers/oauth2/ | |
providersOauth2PartialUpdate | PATCH /providers/oauth2/{id}/ | |
providersOauth2PreviewUserRetrieve | GET /providers/oauth2/{id}/preview_user/ | |
providersOauth2Retrieve | GET /providers/oauth2/{id}/ | |
providersOauth2SetupUrlsRetrieve | GET /providers/oauth2/{id}/setup_urls/ | |
providersOauth2Update | PUT /providers/oauth2/{id}/ | |
providersOauth2UsedByList | GET /providers/oauth2/{id}/used_by/ | |
providersProxyCreate | POST /providers/proxy/ | |
providersProxyDestroy | DELETE /providers/proxy/{id}/ | |
providersProxyList | GET /providers/proxy/ | |
providersProxyPartialUpdate | PATCH /providers/proxy/{id}/ | |
providersProxyRetrieve | GET /providers/proxy/{id}/ | |
providersProxyUpdate | PUT /providers/proxy/{id}/ | |
providersProxyUsedByList | GET /providers/proxy/{id}/used_by/ | |
providersRacCreate | POST /providers/rac/ | |
providersRacDestroy | DELETE /providers/rac/{id}/ | |
providersRacList | GET /providers/rac/ | |
providersRacPartialUpdate | PATCH /providers/rac/{id}/ | |
providersRacRetrieve | GET /providers/rac/{id}/ | |
providersRacUpdate | PUT /providers/rac/{id}/ | |
providersRacUsedByList | GET /providers/rac/{id}/used_by/ | |
providersRadiusCreate | POST /providers/radius/ | |
providersRadiusDestroy | DELETE /providers/radius/{id}/ | |
providersRadiusList | GET /providers/radius/ | |
providersRadiusPartialUpdate | PATCH /providers/radius/{id}/ | |
providersRadiusRetrieve | GET /providers/radius/{id}/ | |
providersRadiusUpdate | PUT /providers/radius/{id}/ | |
providersRadiusUsedByList | GET /providers/radius/{id}/used_by/ | |
providersSamlCreate | POST /providers/saml/ | |
providersSamlDestroy | DELETE /providers/saml/{id}/ | |
providersSamlImportMetadataCreate | POST /providers/saml/import_metadata/ | |
providersSamlList | GET /providers/saml/ | |
providersSamlMetadataRetrieve | GET /providers/saml/{id}/metadata/ | |
providersSamlPartialUpdate | PATCH /providers/saml/{id}/ | |
providersSamlPreviewUserRetrieve | GET /providers/saml/{id}/preview_user/ | |
providersSamlRetrieve | GET /providers/saml/{id}/ | |
providersSamlUpdate | PUT /providers/saml/{id}/ | |
providersSamlUsedByList | GET /providers/saml/{id}/used_by/ | |
providersScimCreate | POST /providers/scim/ | |
providersScimDestroy | DELETE /providers/scim/{id}/ | |
providersScimList | GET /providers/scim/ | |
providersScimPartialUpdate | PATCH /providers/scim/{id}/ | |
providersScimRetrieve | GET /providers/scim/{id}/ | |
providersScimSyncStatusRetrieve | GET /providers/scim/{id}/sync_status/ | |
providersScimUpdate | PUT /providers/scim/{id}/ | |
providersScimUsedByList | GET /providers/scim/{id}/used_by/ |
providersAllDestroy(id)
Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this provider.
try {
apiInstance.providersAllDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersAllDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersAllDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedProviderList providersAllList(applicationIsnull, backchannelOnly, ordering, page, pageSize, search)
Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val applicationIsnull : kotlin.Boolean = true // kotlin.Boolean |
val backchannelOnly : kotlin.Boolean = true // kotlin.Boolean |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedProviderList = apiInstance.providersAllList(applicationIsnull, backchannelOnly, ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersAllList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersAllList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
applicationIsnull | kotlin.Boolean | [optional] | |
backchannelOnly | kotlin.Boolean | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Provider providersAllRetrieve(id)
Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this provider.
try {
val result : Provider = apiInstance.providersAllRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersAllRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersAllRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<TypeCreate> providersAllTypesList()
Get all creatable provider types
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
try {
val result : kotlin.collections.List<TypeCreate> = apiInstance.providersAllTypesList()
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersAllTypesList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersAllTypesList")
e.printStackTrace()
}
This endpoint does not need any parameter.
kotlin.collections.List<TypeCreate>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<UsedBy> providersAllUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersAllUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersAllUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersAllUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
LDAPProvider providersLdapCreate(ldAPProviderRequest)
LDAPProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val ldAPProviderRequest : LDAPProviderRequest = // LDAPProviderRequest |
try {
val result : LDAPProvider = apiInstance.providersLdapCreate(ldAPProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
ldAPProviderRequest | LDAPProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersLdapDestroy(id)
LDAPProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this LDAP Provider.
try {
apiInstance.providersLdapDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this LDAP Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedLDAPProviderList providersLdapList(applicationIsnull, authorizationFlowSlugIexact, baseDnIexact, certificateKpUuidIexact, certificateNameIexact, gidStartNumberIexact, nameIexact, ordering, page, pageSize, search, searchGroupGroupUuidIexact, searchGroupNameIexact, tlsServerNameIexact, uidStartNumberIexact)
LDAPProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val applicationIsnull : kotlin.Boolean = true // kotlin.Boolean |
val authorizationFlowSlugIexact : kotlin.String = authorizationFlowSlugIexact_example // kotlin.String |
val baseDnIexact : kotlin.String = baseDnIexact_example // kotlin.String |
val certificateKpUuidIexact : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val certificateNameIexact : kotlin.String = certificateNameIexact_example // kotlin.String |
val gidStartNumberIexact : kotlin.Int = 56 // kotlin.Int |
val nameIexact : kotlin.String = nameIexact_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val searchGroupGroupUuidIexact : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val searchGroupNameIexact : kotlin.String = searchGroupNameIexact_example // kotlin.String |
val tlsServerNameIexact : kotlin.String = tlsServerNameIexact_example // kotlin.String |
val uidStartNumberIexact : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedLDAPProviderList = apiInstance.providersLdapList(applicationIsnull, authorizationFlowSlugIexact, baseDnIexact, certificateKpUuidIexact, certificateNameIexact, gidStartNumberIexact, nameIexact, ordering, page, pageSize, search, searchGroupGroupUuidIexact, searchGroupNameIexact, tlsServerNameIexact, uidStartNumberIexact)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
applicationIsnull | kotlin.Boolean | [optional] | |
authorizationFlowSlugIexact | kotlin.String | [optional] | |
baseDnIexact | kotlin.String | [optional] | |
certificateKpUuidIexact | java.util.UUID | [optional] | |
certificateNameIexact | kotlin.String | [optional] | |
gidStartNumberIexact | kotlin.Int | [optional] | |
nameIexact | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
searchGroupGroupUuidIexact | java.util.UUID | [optional] | |
searchGroupNameIexact | kotlin.String | [optional] | |
tlsServerNameIexact | kotlin.String | [optional] | |
uidStartNumberIexact | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
LDAPProvider providersLdapPartialUpdate(id, patchedLDAPProviderRequest)
LDAPProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this LDAP Provider.
val patchedLDAPProviderRequest : PatchedLDAPProviderRequest = // PatchedLDAPProviderRequest |
try {
val result : LDAPProvider = apiInstance.providersLdapPartialUpdate(id, patchedLDAPProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this LDAP Provider. | |
patchedLDAPProviderRequest | PatchedLDAPProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
LDAPProvider providersLdapRetrieve(id)
LDAPProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this LDAP Provider.
try {
val result : LDAPProvider = apiInstance.providersLdapRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this LDAP Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
LDAPProvider providersLdapUpdate(id, ldAPProviderRequest)
LDAPProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this LDAP Provider.
val ldAPProviderRequest : LDAPProviderRequest = // LDAPProviderRequest |
try {
val result : LDAPProvider = apiInstance.providersLdapUpdate(id, ldAPProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this LDAP Provider. | |
ldAPProviderRequest | LDAPProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersLdapUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this LDAP Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersLdapUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersLdapUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersLdapUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this LDAP Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
OAuth2Provider providersOauth2Create(oauth2ProviderRequest)
OAuth2Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val oauth2ProviderRequest : OAuth2ProviderRequest = // OAuth2ProviderRequest |
try {
val result : OAuth2Provider = apiInstance.providersOauth2Create(oauth2ProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2Create")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2Create")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
oauth2ProviderRequest | OAuth2ProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersOauth2Destroy(id)
OAuth2Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
try {
apiInstance.providersOauth2Destroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2Destroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2Destroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedOAuth2ProviderList providersOauth2List(accessCodeValidity, accessTokenValidity, application, authorizationFlow, clientId, clientType, includeClaimsInIdToken, issuerMode, name, ordering, page, pageSize, propertyMappings, redirectUris, refreshTokenValidity, search, signingKey, subMode)
OAuth2Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val accessCodeValidity : kotlin.String = accessCodeValidity_example // kotlin.String |
val accessTokenValidity : kotlin.String = accessTokenValidity_example // kotlin.String |
val application : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val authorizationFlow : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val clientId : kotlin.String = clientId_example // kotlin.String |
val clientType : kotlin.String = clientType_example // kotlin.String | Confidential clients are capable of maintaining the confidentiality of their credentials. Public clients are incapable * `confidential` - Confidential * `public` - Public
val includeClaimsInIdToken : kotlin.Boolean = true // kotlin.Boolean |
val issuerMode : kotlin.String = issuerMode_example // kotlin.String | Configure how the issuer field of the ID Token should be filled. * `global` - Same identifier is used for all providers * `per_provider` - Each provider has a different issuer, based on the application slug.
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val propertyMappings : kotlin.collections.List<java.util.UUID> = // kotlin.collections.List<java.util.UUID> |
val redirectUris : kotlin.String = redirectUris_example // kotlin.String |
val refreshTokenValidity : kotlin.String = refreshTokenValidity_example // kotlin.String |
val search : kotlin.String = search_example // kotlin.String | A search term.
val signingKey : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val subMode : kotlin.String = subMode_example // kotlin.String | Configure what data should be used as unique User Identifier. For most cases, the default should be fine. * `hashed_user_id` - Based on the Hashed User ID * `user_id` - Based on user ID * `user_uuid` - Based on user UUID * `user_username` - Based on the username * `user_email` - Based on the User's Email. This is recommended over the UPN method. * `user_upn` - Based on the User's UPN, only works if user has a 'upn' attribute set. Use this method only if you have different UPN and Mail domains.
try {
val result : PaginatedOAuth2ProviderList = apiInstance.providersOauth2List(accessCodeValidity, accessTokenValidity, application, authorizationFlow, clientId, clientType, includeClaimsInIdToken, issuerMode, name, ordering, page, pageSize, propertyMappings, redirectUris, refreshTokenValidity, search, signingKey, subMode)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2List")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2List")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
accessCodeValidity | kotlin.String | [optional] | |
accessTokenValidity | kotlin.String | [optional] | |
application | java.util.UUID | [optional] | |
authorizationFlow | java.util.UUID | [optional] | |
clientId | kotlin.String | [optional] | |
clientType | kotlin.String | Confidential clients are capable of maintaining the confidentiality of their credentials. Public clients are incapable * `confidential` - Confidential * `public` - Public | [optional] [enum: confidential, public] |
includeClaimsInIdToken | kotlin.Boolean | [optional] | |
issuerMode | kotlin.String | Configure how the issuer field of the ID Token should be filled. * `global` - Same identifier is used for all providers * `per_provider` - Each provider has a different issuer, based on the application slug. | [optional] [enum: global, per_provider] |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
propertyMappings | kotlin.collections.List<java.util.UUID> | [optional] | |
redirectUris | kotlin.String | [optional] | |
refreshTokenValidity | kotlin.String | [optional] | |
search | kotlin.String | A search term. | [optional] |
signingKey | java.util.UUID | [optional] | |
subMode | kotlin.String | Configure what data should be used as unique User Identifier. For most cases, the default should be fine. * `hashed_user_id` - Based on the Hashed User ID * `user_id` - Based on user ID * `user_uuid` - Based on user UUID * `user_username` - Based on the username * `user_email` - Based on the User's Email. This is recommended over the UPN method. * `user_upn` - Based on the User's UPN, only works if user has a 'upn' attribute set. Use this method only if you have different UPN and Mail domains. | [optional] [enum: hashed_user_id, user_email, user_id, user_upn, user_username, user_uuid] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
OAuth2Provider providersOauth2PartialUpdate(id, patchedOAuth2ProviderRequest)
OAuth2Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
val patchedOAuth2ProviderRequest : PatchedOAuth2ProviderRequest = // PatchedOAuth2ProviderRequest |
try {
val result : OAuth2Provider = apiInstance.providersOauth2PartialUpdate(id, patchedOAuth2ProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2PartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2PartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. | |
patchedOAuth2ProviderRequest | PatchedOAuth2ProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
PropertyMappingPreview providersOauth2PreviewUserRetrieve(id, forUser)
Preview user data for provider
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
val forUser : kotlin.Int = 56 // kotlin.Int |
try {
val result : PropertyMappingPreview = apiInstance.providersOauth2PreviewUserRetrieve(id, forUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2PreviewUserRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2PreviewUserRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. | |
forUser | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
OAuth2Provider providersOauth2Retrieve(id)
OAuth2Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
try {
val result : OAuth2Provider = apiInstance.providersOauth2Retrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2Retrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2Retrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
OAuth2ProviderSetupURLs providersOauth2SetupUrlsRetrieve(id)
Get Providers setup URLs
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
try {
val result : OAuth2ProviderSetupURLs = apiInstance.providersOauth2SetupUrlsRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2SetupUrlsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2SetupUrlsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
OAuth2Provider providersOauth2Update(id, oauth2ProviderRequest)
OAuth2Provider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
val oauth2ProviderRequest : OAuth2ProviderRequest = // OAuth2ProviderRequest |
try {
val result : OAuth2Provider = apiInstance.providersOauth2Update(id, oauth2ProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2Update")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2Update")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. | |
oauth2ProviderRequest | OAuth2ProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersOauth2UsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersOauth2UsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersOauth2UsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersOauth2UsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this OAuth2/OpenID Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ProxyProvider providersProxyCreate(proxyProviderRequest)
ProxyProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val proxyProviderRequest : ProxyProviderRequest = // ProxyProviderRequest |
try {
val result : ProxyProvider = apiInstance.providersProxyCreate(proxyProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
proxyProviderRequest | ProxyProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersProxyDestroy(id)
ProxyProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Proxy Provider.
try {
apiInstance.providersProxyDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Proxy Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedProxyProviderList providersProxyList(applicationIsnull, authorizationFlowSlugIexact, basicAuthEnabledIexact, basicAuthPasswordAttributeIexact, basicAuthUserAttributeIexact, certificateKpUuidIexact, certificateNameIexact, cookieDomainIexact, externalHostIexact, internalHostIexact, internalHostSslValidationIexact, modeIexact, nameIexact, ordering, page, pageSize, propertyMappingsIexact, redirectUrisIexact, search, skipPathRegexIexact)
ProxyProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val applicationIsnull : kotlin.Boolean = true // kotlin.Boolean |
val authorizationFlowSlugIexact : kotlin.String = authorizationFlowSlugIexact_example // kotlin.String |
val basicAuthEnabledIexact : kotlin.Boolean = true // kotlin.Boolean |
val basicAuthPasswordAttributeIexact : kotlin.String = basicAuthPasswordAttributeIexact_example // kotlin.String |
val basicAuthUserAttributeIexact : kotlin.String = basicAuthUserAttributeIexact_example // kotlin.String |
val certificateKpUuidIexact : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val certificateNameIexact : kotlin.String = certificateNameIexact_example // kotlin.String |
val cookieDomainIexact : kotlin.String = cookieDomainIexact_example // kotlin.String |
val externalHostIexact : kotlin.String = externalHostIexact_example // kotlin.String |
val internalHostIexact : kotlin.String = internalHostIexact_example // kotlin.String |
val internalHostSslValidationIexact : kotlin.Boolean = true // kotlin.Boolean |
val modeIexact : kotlin.String = modeIexact_example // kotlin.String |
val nameIexact : kotlin.String = nameIexact_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val propertyMappingsIexact : kotlin.collections.List<java.util.UUID> = // kotlin.collections.List<java.util.UUID> |
val redirectUrisIexact : kotlin.String = redirectUrisIexact_example // kotlin.String |
val search : kotlin.String = search_example // kotlin.String | A search term.
val skipPathRegexIexact : kotlin.String = skipPathRegexIexact_example // kotlin.String |
try {
val result : PaginatedProxyProviderList = apiInstance.providersProxyList(applicationIsnull, authorizationFlowSlugIexact, basicAuthEnabledIexact, basicAuthPasswordAttributeIexact, basicAuthUserAttributeIexact, certificateKpUuidIexact, certificateNameIexact, cookieDomainIexact, externalHostIexact, internalHostIexact, internalHostSslValidationIexact, modeIexact, nameIexact, ordering, page, pageSize, propertyMappingsIexact, redirectUrisIexact, search, skipPathRegexIexact)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
applicationIsnull | kotlin.Boolean | [optional] | |
authorizationFlowSlugIexact | kotlin.String | [optional] | |
basicAuthEnabledIexact | kotlin.Boolean | [optional] | |
basicAuthPasswordAttributeIexact | kotlin.String | [optional] | |
basicAuthUserAttributeIexact | kotlin.String | [optional] | |
certificateKpUuidIexact | java.util.UUID | [optional] | |
certificateNameIexact | kotlin.String | [optional] | |
cookieDomainIexact | kotlin.String | [optional] | |
externalHostIexact | kotlin.String | [optional] | |
internalHostIexact | kotlin.String | [optional] | |
internalHostSslValidationIexact | kotlin.Boolean | [optional] | |
modeIexact | kotlin.String | [optional] | |
nameIexact | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
propertyMappingsIexact | kotlin.collections.List<java.util.UUID> | [optional] | |
redirectUrisIexact | kotlin.String | [optional] | |
search | kotlin.String | A search term. | [optional] |
skipPathRegexIexact | kotlin.String | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ProxyProvider providersProxyPartialUpdate(id, patchedProxyProviderRequest)
ProxyProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Proxy Provider.
val patchedProxyProviderRequest : PatchedProxyProviderRequest = // PatchedProxyProviderRequest |
try {
val result : ProxyProvider = apiInstance.providersProxyPartialUpdate(id, patchedProxyProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Proxy Provider. | |
patchedProxyProviderRequest | PatchedProxyProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
ProxyProvider providersProxyRetrieve(id)
ProxyProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Proxy Provider.
try {
val result : ProxyProvider = apiInstance.providersProxyRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Proxy Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ProxyProvider providersProxyUpdate(id, proxyProviderRequest)
ProxyProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Proxy Provider.
val proxyProviderRequest : ProxyProviderRequest = // ProxyProviderRequest |
try {
val result : ProxyProvider = apiInstance.providersProxyUpdate(id, proxyProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Proxy Provider. | |
proxyProviderRequest | ProxyProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersProxyUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Proxy Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersProxyUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersProxyUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersProxyUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Proxy Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
RACProvider providersRacCreate(raCProviderRequest)
RACProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val raCProviderRequest : RACProviderRequest = // RACProviderRequest |
try {
val result : RACProvider = apiInstance.providersRacCreate(raCProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
raCProviderRequest | RACProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersRacDestroy(id)
RACProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this RAC Provider.
try {
apiInstance.providersRacDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this RAC Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedRACProviderList providersRacList(applicationIsnull, nameIexact, ordering, page, pageSize, search)
RACProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val applicationIsnull : kotlin.Boolean = true // kotlin.Boolean |
val nameIexact : kotlin.String = nameIexact_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedRACProviderList = apiInstance.providersRacList(applicationIsnull, nameIexact, ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
applicationIsnull | kotlin.Boolean | [optional] | |
nameIexact | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
RACProvider providersRacPartialUpdate(id, patchedRACProviderRequest)
RACProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this RAC Provider.
val patchedRACProviderRequest : PatchedRACProviderRequest = // PatchedRACProviderRequest |
try {
val result : RACProvider = apiInstance.providersRacPartialUpdate(id, patchedRACProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this RAC Provider. | |
patchedRACProviderRequest | PatchedRACProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
RACProvider providersRacRetrieve(id)
RACProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this RAC Provider.
try {
val result : RACProvider = apiInstance.providersRacRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this RAC Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
RACProvider providersRacUpdate(id, raCProviderRequest)
RACProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this RAC Provider.
val raCProviderRequest : RACProviderRequest = // RACProviderRequest |
try {
val result : RACProvider = apiInstance.providersRacUpdate(id, raCProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this RAC Provider. | |
raCProviderRequest | RACProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersRacUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this RAC Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersRacUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRacUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRacUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this RAC Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
RadiusProvider providersRadiusCreate(radiusProviderRequest)
RadiusProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val radiusProviderRequest : RadiusProviderRequest = // RadiusProviderRequest |
try {
val result : RadiusProvider = apiInstance.providersRadiusCreate(radiusProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
radiusProviderRequest | RadiusProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersRadiusDestroy(id)
RadiusProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Radius Provider.
try {
apiInstance.providersRadiusDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Radius Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedRadiusProviderList providersRadiusList(applicationIsnull, authorizationFlowSlugIexact, clientNetworksIexact, nameIexact, ordering, page, pageSize, search)
RadiusProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val applicationIsnull : kotlin.Boolean = true // kotlin.Boolean |
val authorizationFlowSlugIexact : kotlin.String = authorizationFlowSlugIexact_example // kotlin.String |
val clientNetworksIexact : kotlin.String = clientNetworksIexact_example // kotlin.String |
val nameIexact : kotlin.String = nameIexact_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedRadiusProviderList = apiInstance.providersRadiusList(applicationIsnull, authorizationFlowSlugIexact, clientNetworksIexact, nameIexact, ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
applicationIsnull | kotlin.Boolean | [optional] | |
authorizationFlowSlugIexact | kotlin.String | [optional] | |
clientNetworksIexact | kotlin.String | [optional] | |
nameIexact | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
RadiusProvider providersRadiusPartialUpdate(id, patchedRadiusProviderRequest)
RadiusProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Radius Provider.
val patchedRadiusProviderRequest : PatchedRadiusProviderRequest = // PatchedRadiusProviderRequest |
try {
val result : RadiusProvider = apiInstance.providersRadiusPartialUpdate(id, patchedRadiusProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Radius Provider. | |
patchedRadiusProviderRequest | PatchedRadiusProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
RadiusProvider providersRadiusRetrieve(id)
RadiusProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Radius Provider.
try {
val result : RadiusProvider = apiInstance.providersRadiusRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Radius Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
RadiusProvider providersRadiusUpdate(id, radiusProviderRequest)
RadiusProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Radius Provider.
val radiusProviderRequest : RadiusProviderRequest = // RadiusProviderRequest |
try {
val result : RadiusProvider = apiInstance.providersRadiusUpdate(id, radiusProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Radius Provider. | |
radiusProviderRequest | RadiusProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersRadiusUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Radius Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersRadiusUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersRadiusUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersRadiusUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Radius Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SAMLProvider providersSamlCreate(saMLProviderRequest)
SAMLProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val saMLProviderRequest : SAMLProviderRequest = // SAMLProviderRequest |
try {
val result : SAMLProvider = apiInstance.providersSamlCreate(saMLProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
saMLProviderRequest | SAMLProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersSamlDestroy(id)
SAMLProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
try {
apiInstance.providersSamlDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
providersSamlImportMetadataCreate(name, authorizationFlow, file)
Create provider from SAML Metadata
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val name : kotlin.String = name_example // kotlin.String |
val authorizationFlow : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val file : java.io.File = BINARY_DATA_HERE // java.io.File |
try {
apiInstance.providersSamlImportMetadataCreate(name, authorizationFlow, file)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlImportMetadataCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlImportMetadataCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
name | kotlin.String | ||
authorizationFlow | java.util.UUID | ||
file | java.io.File |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: multipart/form-data
- Accept: application/json
PaginatedSAMLProviderList providersSamlList(acsUrl, assertionValidNotBefore, assertionValidNotOnOrAfter, audience, authenticationFlow, authorizationFlow, backchannelApplication, defaultRelayState, digestAlgorithm, isBackchannel, issuer, name, nameIdMapping, ordering, page, pageSize, propertyMappings, search, sessionValidNotOnOrAfter, signatureAlgorithm, signingKp, spBinding, verificationKp)
SAMLProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val acsUrl : kotlin.String = acsUrl_example // kotlin.String |
val assertionValidNotBefore : kotlin.String = assertionValidNotBefore_example // kotlin.String |
val assertionValidNotOnOrAfter : kotlin.String = assertionValidNotOnOrAfter_example // kotlin.String |
val audience : kotlin.String = audience_example // kotlin.String |
val authenticationFlow : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val authorizationFlow : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val backchannelApplication : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val defaultRelayState : kotlin.String = defaultRelayState_example // kotlin.String |
val digestAlgorithm : kotlin.String = digestAlgorithm_example // kotlin.String | * `http://www.w3.org/2000/09/xmldsig#sha1` - SHA1 * `http://www.w3.org/2001/04/xmlenc#sha256` - SHA256 * `http://www.w3.org/2001/04/xmldsig-more#sha384` - SHA384 * `http://www.w3.org/2001/04/xmlenc#sha512` - SHA512
val isBackchannel : kotlin.Boolean = true // kotlin.Boolean |
val issuer : kotlin.String = issuer_example // kotlin.String |
val name : kotlin.String = name_example // kotlin.String |
val nameIdMapping : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val propertyMappings : kotlin.collections.List<java.util.UUID> = // kotlin.collections.List<java.util.UUID> |
val search : kotlin.String = search_example // kotlin.String | A search term.
val sessionValidNotOnOrAfter : kotlin.String = sessionValidNotOnOrAfter_example // kotlin.String |
val signatureAlgorithm : kotlin.String = signatureAlgorithm_example // kotlin.String | * `http://www.w3.org/2000/09/xmldsig#rsa-sha1` - RSA-SHA1 * `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256` - RSA-SHA256 * `http://www.w3.org/2001/04/xmldsig-more#rsa-sha384` - RSA-SHA384 * `http://www.w3.org/2001/04/xmldsig-more#rsa-sha512` - RSA-SHA512 * `http://www.w3.org/2000/09/xmldsig#dsa-sha1` - DSA-SHA1
val signingKp : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val spBinding : kotlin.String = spBinding_example // kotlin.String | This determines how authentik sends the response back to the Service Provider. * `redirect` - Redirect * `post` - Post
val verificationKp : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
try {
val result : PaginatedSAMLProviderList = apiInstance.providersSamlList(acsUrl, assertionValidNotBefore, assertionValidNotOnOrAfter, audience, authenticationFlow, authorizationFlow, backchannelApplication, defaultRelayState, digestAlgorithm, isBackchannel, issuer, name, nameIdMapping, ordering, page, pageSize, propertyMappings, search, sessionValidNotOnOrAfter, signatureAlgorithm, signingKp, spBinding, verificationKp)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
acsUrl | kotlin.String | [optional] | |
assertionValidNotBefore | kotlin.String | [optional] | |
assertionValidNotOnOrAfter | kotlin.String | [optional] | |
audience | kotlin.String | [optional] | |
authenticationFlow | java.util.UUID | [optional] | |
authorizationFlow | java.util.UUID | [optional] | |
backchannelApplication | java.util.UUID | [optional] | |
defaultRelayState | kotlin.String | [optional] | |
digestAlgorithm | kotlin.String | * `http://www.w3.org/2000/09/xmldsig#sha1` - SHA1 * `http://www.w3.org/2001/04/xmlenc#sha256` - SHA256 * `http://www.w3.org/2001/04/xmldsig-more#sha384` - SHA384 * `http://www.w3.org/2001/04/xmlenc#sha512` - SHA512 | [optional] [enum: http://www.w3.org/2000/09/xmldsig#sha1, http://www.w3.org/2001/04/xmldsig-more#sha384, http://www.w3.org/2001/04/xmlenc#sha256, http://www.w3.org/2001/04/xmlenc#sha512] |
isBackchannel | kotlin.Boolean | [optional] | |
issuer | kotlin.String | [optional] | |
name | kotlin.String | [optional] | |
nameIdMapping | java.util.UUID | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
propertyMappings | kotlin.collections.List<java.util.UUID> | [optional] | |
search | kotlin.String | A search term. | [optional] |
sessionValidNotOnOrAfter | kotlin.String | [optional] | |
signatureAlgorithm | kotlin.String | * `http://www.w3.org/2000/09/xmldsig#rsa-sha1` - RSA-SHA1 * `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256` - RSA-SHA256 * `http://www.w3.org/2001/04/xmldsig-more#rsa-sha384` - RSA-SHA384 * `http://www.w3.org/2001/04/xmldsig-more#rsa-sha512` - RSA-SHA512 * `http://www.w3.org/2000/09/xmldsig#dsa-sha1` - DSA-SHA1 | [optional] [enum: http://www.w3.org/2000/09/xmldsig#dsa-sha1, http://www.w3.org/2000/09/xmldsig#rsa-sha1, http://www.w3.org/2001/04/xmldsig-more#rsa-sha256, http://www.w3.org/2001/04/xmldsig-more#rsa-sha384, http://www.w3.org/2001/04/xmldsig-more#rsa-sha512] |
signingKp | java.util.UUID | [optional] | |
spBinding | kotlin.String | This determines how authentik sends the response back to the Service Provider. * `redirect` - Redirect * `post` - Post | [optional] [enum: post, redirect] |
verificationKp | java.util.UUID | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SAMLMetadata providersSamlMetadataRetrieve(id, download, forceBinding)
Return metadata as XML string
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
val download : kotlin.Boolean = true // kotlin.Boolean |
val forceBinding : kotlin.String = forceBinding_example // kotlin.String | Optionally force the metadata to only include one binding.
try {
val result : SAMLMetadata = apiInstance.providersSamlMetadataRetrieve(id, download, forceBinding)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlMetadataRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlMetadataRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. | |
download | kotlin.Boolean | [optional] | |
forceBinding | kotlin.String | Optionally force the metadata to only include one binding. | [optional] [enum: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST, urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SAMLProvider providersSamlPartialUpdate(id, patchedSAMLProviderRequest)
SAMLProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
val patchedSAMLProviderRequest : PatchedSAMLProviderRequest = // PatchedSAMLProviderRequest |
try {
val result : SAMLProvider = apiInstance.providersSamlPartialUpdate(id, patchedSAMLProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. | |
patchedSAMLProviderRequest | PatchedSAMLProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
PropertyMappingPreview providersSamlPreviewUserRetrieve(id, forUser)
Preview user data for provider
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
val forUser : kotlin.Int = 56 // kotlin.Int |
try {
val result : PropertyMappingPreview = apiInstance.providersSamlPreviewUserRetrieve(id, forUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlPreviewUserRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlPreviewUserRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. | |
forUser | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SAMLProvider providersSamlRetrieve(id)
SAMLProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
try {
val result : SAMLProvider = apiInstance.providersSamlRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SAMLProvider providersSamlUpdate(id, saMLProviderRequest)
SAMLProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
val saMLProviderRequest : SAMLProviderRequest = // SAMLProviderRequest |
try {
val result : SAMLProvider = apiInstance.providersSamlUpdate(id, saMLProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. | |
saMLProviderRequest | SAMLProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersSamlUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SAML Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersSamlUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersSamlUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersSamlUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SAML Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SCIMProvider providersScimCreate(scIMProviderRequest)
SCIMProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val scIMProviderRequest : SCIMProviderRequest = // SCIMProviderRequest |
try {
val result : SCIMProvider = apiInstance.providersScimCreate(scIMProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
scIMProviderRequest | SCIMProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
providersScimDestroy(id)
SCIMProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SCIM Provider.
try {
apiInstance.providersScimDestroy(id)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SCIM Provider. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedSCIMProviderList providersScimList(excludeUsersServiceAccount, filterGroup, name, ordering, page, pageSize, search, url)
SCIMProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val excludeUsersServiceAccount : kotlin.Boolean = true // kotlin.Boolean |
val filterGroup : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val url : kotlin.String = url_example // kotlin.String |
try {
val result : PaginatedSCIMProviderList = apiInstance.providersScimList(excludeUsersServiceAccount, filterGroup, name, ordering, page, pageSize, search, url)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
excludeUsersServiceAccount | kotlin.Boolean | [optional] | |
filterGroup | java.util.UUID | [optional] | |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
url | kotlin.String | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SCIMProvider providersScimPartialUpdate(id, patchedSCIMProviderRequest)
SCIMProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SCIM Provider.
val patchedSCIMProviderRequest : PatchedSCIMProviderRequest = // PatchedSCIMProviderRequest |
try {
val result : SCIMProvider = apiInstance.providersScimPartialUpdate(id, patchedSCIMProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SCIM Provider. | |
patchedSCIMProviderRequest | PatchedSCIMProviderRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
SCIMProvider providersScimRetrieve(id)
SCIMProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SCIM Provider.
try {
val result : SCIMProvider = apiInstance.providersScimRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SCIM Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SCIMSyncStatus providersScimSyncStatusRetrieve(id)
Get provider's sync status
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SCIM Provider.
try {
val result : SCIMSyncStatus = apiInstance.providersScimSyncStatusRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimSyncStatusRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimSyncStatusRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SCIM Provider. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SCIMProvider providersScimUpdate(id, scIMProviderRequest)
SCIMProvider Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SCIM Provider.
val scIMProviderRequest : SCIMProviderRequest = // SCIMProviderRequest |
try {
val result : SCIMProvider = apiInstance.providersScimUpdate(id, scIMProviderRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SCIM Provider. | |
scIMProviderRequest | SCIMProviderRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> providersScimUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = ProvidersApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this SCIM Provider.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.providersScimUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProvidersApi#providersScimUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProvidersApi#providersScimUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this SCIM Provider. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json