permissions this app is requesting
the app domain
path on app domain to redirect users to after authentication
path relative to app domain of app's manifest file
override the default or user selected core node
the web-based fall back authenticator (DEFAULT_BLOCKSTACK_HOST)
Blockstack apps are uniquely identified by their app domain.
The URL of a web-based Blockstack Authenticator to use in the event the user doesn't have Blockstack installed on their machine. If this is not specified, the current default in this library will be used.
The URL of Blockstack core node to use for this app. If this is
null
, the core node specified by the user or default core node
will be used.
Path relative to app domain of app's manifest file.
This file needs to have CORS headers set so that it can be fetched
from any origin. Typically this means return the header Access-Control-Allow-Origin: *
.
Path on app domain to redirect users to after authentication. The authentication response token will be postpended in a query.
An array of string representing permissions requested by the app.
The location of the app's manifest file.
The location to which the authenticator should redirect the user.
Generated using TypeDoc
Configuration data for the current app.
On browser platforms, creating an instance of this class without any arguments will use
window.location.origin
as the app domain. On non-browser platforms, you need to specify an app domain as the second argument.