/auth
Search
⌃
K
Get Started
Overview
Quick Start Guide
Wagmi Configuration
Examples
Token Gating
Getting Started with Demo App
React API & Reference
React Functions
React Hooks
Node API & Reference
App Functions
getInfo( )
getRoleRestrictedData( )
updateRoleRestrictedData()
User Functions
File Functions
Middleware
Express
🚨 Support 🚨
Contact
Powered By
GitBook
Comment on page
getInfo( )
getInfo is a function to return public information about the current SlashAuth app.
Usage
const
{
data
}
=
await
client
.
app
.
getInfo
();
console
.
log
(
data
)
Return Value
{
data
?:
{
clientID
:
string
;
name
:
string
;
description
?:
string
;
};
error
:
ErrorMessage
|
null
;
headers
:
Object
;
statusCode
:
number
;
}
Node API & Reference - Previous
App Functions
Next
getRoleRestrictedData( )
Last modified
10mo ago