Interface UnderlyingCeramicSigner
Methods
asController
- asController(): Promise<string>
-
Returns Promise<string>
createDagJWS
- createDagJWS(payload: Record<string, any>, options?: CreateJWSOptions): Promise<DagJWSResult>
-
Parameters
-
payload: Record<string, any>
-
Optional
options: CreateJWSOptions
Returns Promise<DagJWSResult>
createJWS
- createJWS<T>(payload: T, options?: CreateJWSOptions): Promise<DagJWS>
-
Type Parameters
-
T extends string | Record<string, any>
Parameters
-
payload: T
-
Optional
options: CreateJWSOptions
Returns Promise<DagJWS>
ensureAuthenticated
- ensureAuthenticated(): Promise<void>
-
Returns Promise<void>
verifyJWS
- verifyJWS(jws: string | DagJWS, options?: VerifyJWSOptions): Promise<VerifyJWSResult>
-
Parameters
-
jws: string | DagJWS
-
Optional
options: VerifyJWSOptions
Returns Promise<VerifyJWSResult>
Interface for an object that can sign ceramic commits