MixinClient: GConstructor<{
getApiKey(): undefined | string;
getDomain(): string;
getPeerDomain(nickname): Promise<Domain>;
getSession(tokenLifetime?): Promise<any>;
peerDomainExists(nickname): Promise<boolean>;
}>
Type declaration
getApiKey:function
- getApiKey(): undefined | string
Returns undefined | string
getDomain:function
- getDomain(): string
Returns string
getPeerDomain:function
- getPeerDomain(nickname): Promise<Domain>
Returns Promise<Domain>
getSession:function
- getSession(tokenLifetime?): Promise<any>
Parameters
Optional
tokenLifetime: number
Returns Promise<any>
peerDomainExists:function
- peerDomainExists(nickname): Promise<boolean>
Returns Promise<boolean>