OKMRest
3.7.1
OpenKM Rest
|
Public Member Functions | |
AuthImpl (String host) | |
void | setAuthorizationToken (String authorizationToken) |
string | login (String user, String password) |
login More... | |
String | login (String user, String password, int expiration, bool restrictIp) |
login More... | |
Dictionary< String, int > | getGrantedRoles (String uuid) |
GrantedRoleList More... | |
Dictionary< String, int > | getGrantedUsers (String uuid) |
getGrantedUsers More... | |
List< String > | getRoles (bool showAll) |
getRoles More... | |
List< CommonUser > | getUsers (bool showAll) |
getUsers More... | |
CommonUser | getUser (string userId) |
getUser More... | |
List< CommonUser > | getUsersByRole (String role) |
getUsersByRole More... | |
List< String > | getRolesByUser (String userId) |
getRolesByUser More... | |
List< Profile > | getProfiles (Boolean filterByActive) |
getProfiles More... | |
Profile | getUserProfile (String user) |
getUserProfile More... | |
void | setUserProfile (String userId, long profileId) |
setUserProfile More... | |
void | grantRole (String uuid, String roleId, int permissions, Boolean recursive) |
grantRole More... | |
void | grantUser (String nodeId, String user, int permissions, Boolean recursive) |
grantUser More... | |
void | revokeRole (String uuid, String roleId, int permissions, Boolean recursive) |
revokeRole More... | |
void | revokeUser (String uuid, String userId, int permissions, Boolean recursive) |
revokeUser More... | |
void | createUser (String userId, String password, String email, String name, Boolean active) |
createUser More... | |
void | updateUser (String user, String password, String email, String name, Boolean active) |
updateUser More... | |
void | deleteUser (String user) |
deleteUser More... | |
void | createRole (String roleId, Boolean active) |
createRole More... | |
void | updateRole (String role, Boolean active) |
updateRole More... | |
void | assignRole (String user, String role) |
assignRole More... | |
void | deleteRole (String role) |
deleteRole More... | |
void | removeRole (String user, String role) |
removeRole More... | |
void | changeSecurity (String uuid, ChangeSecurity changeSecurity) |
changeSecurity More... | |
void | logout () |
logout More... | |
GrantedUsersAndRolesItem | getGrantedUsersAndRoles (String uuid) |
getGrantedUsersAndRoles More... | |
void | setUserPermissions (String uuid, String userId, int permissions, bool recursive) |
setUserPermissions More... | |
void | setRolePermissions (String uuid, String roleId, int permissions, bool recursive) |
setRolePermissions More... | |
List< Tenant > | getUserTenants () |
getUserTenants More... | |
void | setUserTenant (long tenantId) |
setUserTenant More... | |
bool | isAdmin () |
isAdmin More... | |
bool | hasSecurityRecursive () |
hasSecurityRecursive More... | |
String | getSessionId () |
getSessionId More... | |
bool | isLoginLowercase () |
isLoginLowercase More... | |
Public Member Functions inherited from com.openkm.sdk4csharp.impl.ClientImpl | |
RestClient | getClient (String url) |
getClient More... | |
RestClient | getClient (String url, String user, String password) |
getClient More... | |
com.openkm.sdk4csharp.impl.AuthImpl.AuthImpl | ( | String | host | ) |
void com.openkm.sdk4csharp.impl.AuthImpl.assignRole | ( | String | user, |
String | role | ||
) |
assignRole
user | |
role |
void com.openkm.sdk4csharp.impl.AuthImpl.changeSecurity | ( | String | uuid, |
ChangeSecurity | changeSecurity | ||
) |
changeSecurity
uuid | |
changeSecurity |
void com.openkm.sdk4csharp.impl.AuthImpl.createRole | ( | String | roleId, |
Boolean | active | ||
) |
createRole
role | |
active |
void com.openkm.sdk4csharp.impl.AuthImpl.createUser | ( | String | userId, |
String | password, | ||
String | email, | ||
String | name, | ||
Boolean | active | ||
) |
createUser
userId | |
password | |
name | |
active |
void com.openkm.sdk4csharp.impl.AuthImpl.deleteRole | ( | String | role | ) |
deleteRole
role |
void com.openkm.sdk4csharp.impl.AuthImpl.deleteUser | ( | String | user | ) |
deleteUser
user |
Dictionary<String, int> com.openkm.sdk4csharp.impl.AuthImpl.getGrantedRoles | ( | String | uuid | ) |
GrantedRoleList
uuid |
Dictionary<String, int> com.openkm.sdk4csharp.impl.AuthImpl.getGrantedUsers | ( | String | uuid | ) |
getGrantedUsers
uuid |
GrantedUsersAndRolesItem com.openkm.sdk4csharp.impl.AuthImpl.getGrantedUsersAndRoles | ( | String | uuid | ) |
getGrantedUsersAndRoles
uuid |
List<Profile> com.openkm.sdk4csharp.impl.AuthImpl.getProfiles | ( | Boolean | filterByActive | ) |
getProfiles
filterByActive |
List<String> com.openkm.sdk4csharp.impl.AuthImpl.getRoles | ( | bool | showAll | ) |
getRoles
showAll |
List<String> com.openkm.sdk4csharp.impl.AuthImpl.getRolesByUser | ( | String | userId | ) |
getRolesByUser
userId |
String com.openkm.sdk4csharp.impl.AuthImpl.getSessionId | ( | ) |
getSessionId
CommonUser com.openkm.sdk4csharp.impl.AuthImpl.getUser | ( | string | userId | ) |
getUser
userId |
Profile com.openkm.sdk4csharp.impl.AuthImpl.getUserProfile | ( | String | user | ) |
getUserProfile
user |
List<CommonUser> com.openkm.sdk4csharp.impl.AuthImpl.getUsers | ( | bool | showAll | ) |
getUsers
showAll |
List<CommonUser> com.openkm.sdk4csharp.impl.AuthImpl.getUsersByRole | ( | String | role | ) |
getUsersByRole
role |
List<Tenant> com.openkm.sdk4csharp.impl.AuthImpl.getUserTenants | ( | ) |
getUserTenants
void com.openkm.sdk4csharp.impl.AuthImpl.grantRole | ( | String | uuid, |
String | roleId, | ||
int | permissions, | ||
Boolean | recursive | ||
) |
grantRole
uuid | |
roleId | |
permissions | |
recursive |
void com.openkm.sdk4csharp.impl.AuthImpl.grantUser | ( | String | nodeId, |
String | user, | ||
int | permissions, | ||
Boolean | recursive | ||
) |
grantUser
nodeId | |
user | |
permissions | |
recursive |
bool com.openkm.sdk4csharp.impl.AuthImpl.hasSecurityRecursive | ( | ) |
hasSecurityRecursive
bool com.openkm.sdk4csharp.impl.AuthImpl.isAdmin | ( | ) |
isAdmin
bool com.openkm.sdk4csharp.impl.AuthImpl.isLoginLowercase | ( | ) |
isLoginLowercase
string com.openkm.sdk4csharp.impl.AuthImpl.login | ( | String | user, |
String | password | ||
) |
login
String com.openkm.sdk4csharp.impl.AuthImpl.login | ( | String | user, |
String | password, | ||
int | expiration, | ||
bool | restrictIp | ||
) |
login
user | |
password | |
expiration | |
restrictIp |
void com.openkm.sdk4csharp.impl.AuthImpl.logout | ( | ) |
logout
void com.openkm.sdk4csharp.impl.AuthImpl.removeRole | ( | String | user, |
String | role | ||
) |
removeRole
user | |
role |
void com.openkm.sdk4csharp.impl.AuthImpl.revokeRole | ( | String | uuid, |
String | roleId, | ||
int | permissions, | ||
Boolean | recursive | ||
) |
revokeRole
uuid | |
roleId | |
permissions | |
recursive |
void com.openkm.sdk4csharp.impl.AuthImpl.revokeUser | ( | String | uuid, |
String | userId, | ||
int | permissions, | ||
Boolean | recursive | ||
) |
revokeUser
uuid | |
userId | |
permissions | |
recursive |
void com.openkm.sdk4csharp.impl.AuthImpl.setAuthorizationToken | ( | String | authorizationToken | ) |
void com.openkm.sdk4csharp.impl.AuthImpl.setRolePermissions | ( | String | uuid, |
String | roleId, | ||
int | permissions, | ||
bool | recursive | ||
) |
setRolePermissions
uuid | |
roleId | |
permissions | |
recursive |
void com.openkm.sdk4csharp.impl.AuthImpl.setUserPermissions | ( | String | uuid, |
String | userId, | ||
int | permissions, | ||
bool | recursive | ||
) |
setUserPermissions
uuid | |
userId | |
permissions | |
recursive |
void com.openkm.sdk4csharp.impl.AuthImpl.setUserProfile | ( | String | userId, |
long | profileId | ||
) |
setUserProfile
userId | userId |
profileId | profileId |
void com.openkm.sdk4csharp.impl.AuthImpl.setUserTenant | ( | long | tenantId | ) |
setUserTenant
tenantId |
void com.openkm.sdk4csharp.impl.AuthImpl.updateRole | ( | String | role, |
Boolean | active | ||
) |
updateRole
role | |
active |
void com.openkm.sdk4csharp.impl.AuthImpl.updateUser | ( | String | user, |
String | password, | ||
String | email, | ||
String | name, | ||
Boolean | active | ||
) |
updateUser
user | |
password | |
name | |
active |