Class SeamHttpAcsCredentials
Constructors
constructor
- new SeamHttpAcsCredentials(apiKeyOrOptions?): SeamHttpAcsCredentials
Properties
client
client: AxiosInstance
Methods
assign
- assign(body?): Promise<void>
Parameters
Optional
body: {
acs_credential_id: string;
acs_user_id: string;
}
acs_credential_id: string
acs_user_id: string
Returns Promise<void>
create
- create(body?): Promise<{
acs_credential_id: string;
acs_system_id: string;
acs_user_id?: string;
code: null | string;
created_at: string;
external_type: "pti_card" | "brivo_credential";
external_type_display_name: string;
workspace_id: string;
}> Parameters
Optional
body: {
acs_user_id: string;
code: string;
}
acs_user_id: string
code: string
Returns Promise<{
acs_credential_id: string;
acs_system_id: string;
acs_user_id?: string;
code: null | string;
created_at: string;
external_type: "pti_card" | "brivo_credential";
external_type_display_name: string;
workspace_id: string;
}>
delete
- delete(body?): Promise<void>
Parameters
Optional
body: {
acs_credential_id: string;
}
acs_credential_id: string
Returns Promise<void>
get
- get(body?): Promise<{
acs_credential_id: string;
acs_system_id: string;
acs_user_id?: string;
code: null | string;
created_at: string;
external_type: "pti_card" | "brivo_credential";
external_type_display_name: string;
workspace_id: string;
}> Parameters
Optional
body: {
acs_credential_id: string;
}
acs_credential_id: string
Returns Promise<{
acs_credential_id: string;
acs_system_id: string;
acs_user_id?: string;
code: null | string;
created_at: string;
external_type: "pti_card" | "brivo_credential";
external_type_display_name: string;
workspace_id: string;
}>
list
- list(body?): Promise<{
acs_credential_id: string;
acs_system_id: string;
acs_user_id?: string;
code: null | string;
created_at: string;
external_type: "pti_card" | "brivo_credential";
external_type_display_name: string;
workspace_id: string;
}[]> Returns Promise<{
acs_credential_id: string;
acs_system_id: string;
acs_user_id?: string;
code: null | string;
created_at: string;
external_type: "pti_card" | "brivo_credential";
external_type_display_name: string;
workspace_id: string;
}[]>
unassign
- unassign(body?): Promise<void>
Parameters
Optional
body: {
acs_credential_id: string;
acs_user_id: string;
}
acs_credential_id: string
acs_user_id: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsCredentials
Static
fromClient
- fromClient(client, options?): SeamHttpAcsCredentials
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsCredentials
Parameters
clientSessionToken: string
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsCredentials
Parameters
consoleSessionToken: string
workspaceId: string
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsCredentials
Parameters
personalAccessToken: string
workspaceId: string
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsCredentials>
Parameters
publishableKey: string
userIdentifierKey: string