public class ApplicationRolesApi extends Object
| Constructor and Description |
|---|
ApplicationRolesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<ApplicationRole>> |
getAllApplicationRoles(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all application roles
Returns all application roles.
|
io.reactivex.Single<ApplicationRole> |
getApplicationRole(String key,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get application role
Returns an application role.
|
public ApplicationRolesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<List<ApplicationRole>> getAllApplicationRoles(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<ApplicationRole> getApplicationRole(String key, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
key - The key of the application role. Use the [Get all application roles](#api-rest-api-2-applicationrole-get) operation to get the key for each application role. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.