Onymos API
Your team can interact with Onymos software through an API, a set of higher-order functions for performing actions like logging in or sending/receiving data.
The API is available across multiple languages (like TypeScript, Python, Go, Swift, and Kotlin) and frameworks (like Ionic, Cordova, React Native, and Angular). Contact us to access our complete documentation or view a sample below.
Onymos API
Your team can interact with Onymos software through an API, a set of higher-order functions for performing actions like logging in or sending/receiving data.
The API is available across multiple languages (like TypeScript, Python, Go, Swift, and Kotlin) and frameworks (like Ionic, Cordova, React Native, and Angular). Contact us to access our complete documentation or view a sample below.
Do complex things, simply.
Here’s an example of how you would use our API to interact with one of our Onymos Features, Access.
- First, the user selects their preferred login method (e.g., Google, Facebook, Microsoft, etc.). Simply pass the name of the provider to Access’ login function.
- Access will normalize the data these providers return. For example, “givenName” (Google), “first_name” (Facebook), and “firstName” (Apple) all become “firstName.”
- Behind the scenes, and by default, Access handles auth token validation, offline mode, and other kinds of session management.
socialLogin(authProvider) {
var accessObj = {
authProvider: authProvider // e.g., "google" or "entra"
};
OnymosAccess.login(
accessObj,
(status) => {
console.log(status);
// Optionally, call getAuth to get authData
const authDataObject = OnymosAccess.getAuth();
},
(error) => {
console.log(error);
},
const options = {
scope: ‘profile email’ // Google space-separated
};
);
}; // end function socialLogin
Schedule your demo. →
Do complex things, simply.
Here’s an example of how you would use our API to interact with one of our Onymos Features, Access.
- First, the user selects their preferred login method (e.g., Google, Facebook, Microsoft, etc.). Simply pass the name of the provider to Access’ login function.
- Access will normalize the data these providers return. For example, “givenName” (Google), “first_name” (Facebook), and “firstName” (Apple) all become “firstName.”
- Behind the scenes, and by default, Access handles auth token validation, offline mode, and other kinds of session management.
socialLogin(authProvider) {
var accessObj = {
authProvider: authProvider // e.g., "google" or "entra"
};
OnymosAccess.login(
accessObj,
(status) => {
console.log(status);
// Optionally, call getAuth to get authData
const authDataObject = OnymosAccess.getAuth();
},
(error) => {
console.log(error);
},
const options = {
scope: ‘profile email’ // Google space-separated
};
);
}; // end function socialLogin
Schedule your demo. →
Do complex things, simply.
Here’s an example of how you would use our API to interact with one of our Onymos Features, Access.
- First, the user selects their preferred login method (e.g., Google, Facebook, Microsoft, etc.). Simply pass the name of the provider to Access’ login function.
- Access will normalize the data these providers return. For example, “givenName” (Google), “first_name” (Facebook), and “firstName” (Apple) all become “firstName.”
- Behind the scenes, and by default, Access handles auth token validation, offline mode, and other kinds of session management.
socialLogin(authProvider) {
var accessObj = {
authProvider: authProvider // e.g., "google" or "entra"
};
OnymosAccess.login(
accessObj,
(status) => {
console.log(status);
// Optionally, call getAuth to get authData
const authDataObject = OnymosAccess.getAuth();
},
(error) => {
console.log(error);
},
const options = {
scope: ‘profile email’ // Google space-separated
};
);
}; // end function socialLogin