mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
🤖 Merge PR #46039 Include well_known in matrix-js-sdk LoginPayload by @Georift
This commit is contained in:
parent
20abcc248e
commit
034e05a68e
23
types/matrix-js-sdk/index.d.ts
vendored
23
types/matrix-js-sdk/index.d.ts
vendored
@ -243,10 +243,31 @@ export class IndexedDBStore extends MemoryStore {
|
||||
}
|
||||
|
||||
export interface LoginPayload {
|
||||
/* The fully-qualified Matrix ID for the account. */
|
||||
user_id: string;
|
||||
|
||||
/* An access token for the account.
|
||||
* This access token can then be used to authorize other requests. */
|
||||
access_token: string;
|
||||
home_server: string;
|
||||
|
||||
/* ID of the logged-in device. Will be the same as the
|
||||
* corresponding parameter in the request, if one was specified. */
|
||||
device_id: string;
|
||||
|
||||
/* The server_name of the homeserver on which the account has been registered.
|
||||
* @deprecated Clients should extract the server_name from
|
||||
* ``user_id`` (by splitting at the first colon) if they require
|
||||
* it. Note also that ``homeserver`` is not spelt this way.
|
||||
*/
|
||||
home_server: string;
|
||||
|
||||
/**
|
||||
* Optional client configuration provided by the server. If present,
|
||||
* clients SHOULD use the provided object to reconfigure themselves,
|
||||
* optionally validating the URLs within. This object takes the same
|
||||
* form as the one returned from .well-known autodiscovery.
|
||||
*/
|
||||
well_known?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user