Preparing search index...
The search index is not available
Stacks.js
Stacks.js
@stacks/profile
Profile
Class Profile
Represents a user profile
Hierarchy
Profile
Index
Constructors
constructor
Properties
_profile
Methods
toJSON
to
Token
from
Token
make
Zone
File
validate
Schema
Constructors
constructor
new
Profile
(
profile
?
)
:
Profile
Parameters
profile
:
{}
= {}
Returns
Profile
Properties
_profile
_profile
:
{
[
key
:
string
]
:
any
;
}
Type declaration
[
key
:
string
]:
any
Methods
toJSON
toJSON
(
)
:
{
[
key
:
string
]
:
any
;
}
Returns
{
[
key
:
string
]
:
any
;
}
[
key
:
string
]:
any
to
Token
to
Token
(
privateKey
)
:
string
Parameters
privateKey
:
string
Returns
string
Static
from
Token
from
Token
(
token
,
publicKeyOrAddress
?
)
:
Profile
Parameters
token
:
string
publicKeyOrAddress
:
null
|
string
= null
Returns
Profile
Static
make
Zone
File
make
Zone
File
(
domainName
,
tokenFileURL
)
:
string
Parameters
domainName
:
string
tokenFileURL
:
string
Returns
string
Static
validate
Schema
validate
Schema
(
profile
,
strict
?
)
:
any
Parameters
profile
:
any
strict
:
boolean
= false
Returns
any
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_profile
toJSON
to
Token
from
Token
make
Zone
File
validate
Schema
Stacks.js
@stacks/auth
@stacks/encryption
@stacks/network
@stacks/stacking
@stacks/transactions
@stacks/bns
@stacks/common
@stacks/profile
Profile
Public
Person
Profile
Public
Profile
Base
Public
Profile
extract
Profile
sign
Profile
Token
verify
Profile
Token
wrap
Profile
Token
@stacks/sbtc-
developer-
release
@stacks/storage
@stacks/wallet-
sdk
Generated using
TypeDoc
Represents a user profile