onelogin v0.2.0


Monthly downloads



Interact with the 'OneLogin' API

The identity provider ['OneLogin']<> is used for authentication via Single Sign On (SSO). This package provides an R interface to their API.



CRAN status

The goal of onelogin is to wrap the API for the identity provider 'OneLogin'.


You can install the current version of onelogin on CRAN at or the development version from 'github' using


Get All Users

This is a basic example which shows you how to get all users:

con <- onelogin()


Functions in onelogin

Name Description
ol_user_get_custom_fields Get custom fields available for users
ol_user_pwd_sha256_salt Set or changes user's password after encryption
ol_user_remove_role Remove role from user
ol_user_create Create a 'OneLogin' user.
ol_user_update Update user information by ID
ol_user_get_apps Get Apps for User
ol_user_delete Delete user
ol_users_get Get Users from OneLogin
ol_user_get_roles Get Roles for a User
ol_token_get_rate_limit Get 'OneLogin' API rate limit
ol_user_log_out Log user out
%>% Pipe operator
onelogin Define a 'OneLogin' Connection
ol_user_pwd_cleartext Set or change user's password
ol_user_set_custom_attr Set custom attribute for users
ol_user_lock_account Lock user
ol_user_set_state Set user state
ol_user_assign_role Assign role to user
ol_role_get_by_id Get details of particular role
ol_invite_gen_link Generate Invite Link
ol_token_revoke Revoke OneLogin access token
ol_token_refresh Refresh 'OneLogin' auth token
ol_token_get Generate a 'OneLogin' token
ol_invite_send_link Send Invite Links
ol_roles_get Get all available roles
ol_user_get_by_id Get a User by their ID
No Results!

Last month downloads


Type Package
License MIT + file LICENSE
Encoding UTF-8
LazyData true
RoxygenNote 6.1.1
NeedsCompilation no
Packaged 2019-08-07 13:46:13 UTC; alexkgold
Repository CRAN
Date/Publication 2019-08-07 14:00:02 UTC

Include our badge in your README