Class SeamHttpAcsCredentials
Constructors
constructor
- new SeamHttpAcsCredentials(apiKeyOrOptions?): SeamHttpAcsCredentials
-
Properties
client
client: AxiosInstance
Methods
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";
external_type_display_name: string;
workspace_id: string;
}>
-
Parameters
-
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";
external_type_display_name: string;
workspace_id: string;
}>
delete
- delete(body): Promise<void>
-
Parameters
-
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";
external_type_display_name: string;
workspace_id: string;
}>
-
Parameters
-
body: {
acs_credentials_id: string;
}
-
acs_credentials_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";
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";
external_type_display_name: string;
workspace_id: string;
}[]>
-
Parameters
-
body: {
acs_user_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";
external_type_display_name: string;
workspace_id: string;
}[]>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsCredentials
-
Static
fromClient
- fromClient(client, options?): SeamHttpAcsCredentials
-
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsCredentials
-
Parameters
-
clientSessionToken: string
-
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsCredentials>
-
Parameters
-
publishableKey: string
-
userIdentifierKey: string
-