- Preparing search index...
- The search index is not available
@tomic
Function createAuthentication
- createAuthentication(subject: string, agent: Agent): Promise<{ https://atomicdata.dev/properties/auth/agent: string; https://atomicdata.dev/properties/auth/publicKey: string; https://atomicdata.dev/properties/auth/requestedSubject: string; https://atomicdata.dev/properties/auth/signature: string; https://atomicdata.dev/properties/auth/timestamp: number }>
-
Returns Promise<{ https://atomicdata.dev/properties/auth/agent: string; https://atomicdata.dev/properties/auth/publicKey: string; https://atomicdata.dev/properties/auth/requestedSubject: string; https://atomicdata.dev/properties/auth/signature: string; https://atomicdata.dev/properties/auth/timestamp: number }>
Returns a JSON-AD resource of an Authentication