Constructors
constructor
- new SecrecyAppClient(uaJwt, _client, _keys, apiClient): SecrecyAppClient
Parameters
- uaJwt: string
- _client: SecrecyClient
- _keys: {
privateKey: string;
publicKey: string;
}privateKey: string
publicKey: string
- apiClient: DecoratedProcedureRecord<CreateRouterInner<RootConfig<{}>, {}>, {}>
Properties
jwtDecoded
jwtDecoded: JwtPayload
Accessors
userId
- get userId(): string
Returns string
Methods
getJwt
- getJwt(): Promise<string>
Returns Promise<string>
isApplicationUser
- isApplicationUser(input): Promise<{}>
Returns Promise<{}>
limits
- limits(): Promise<{}>
Returns Promise<{}>
metrics
- metrics(): Promise<{}>
Returns Promise<{}>
notifications
- notifications(): Promise<{}>
Returns Promise<{}>
quotas
- quotas(): Promise<{}>
Returns Promise<{}>
settings
- settings(): Promise<{}>
Returns Promise<{}>
updateNotifications
- updateNotifications(notifications): Promise<{}>
Parameters
- notifications: Partial<{}>
Returns Promise<{}>
updateSettings
- updateSettings(settings): Promise<{}>
Returns Promise<{}>
userPublicKey
- userPublicKey(userId): Promise<string>
Returns Promise<string>