Skip to content

Commit 33cd424

Browse files
authored
Add stable m.oauth UIA stage enum (#5138)
1 parent 4d0d323 commit 33cd424

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/interactive-auth.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ export enum AuthType {
8585
// use the stable "m.login.registration_token" type.
8686
// The authentication flow is the same in both cases.
8787
UnstableRegistrationToken = "org.matrix.msc3231.login.registration_token",
88+
/**
89+
* m.oauth stage introduced by MSC4312:
90+
* https://spec.matrix.org/v1.17/client-server-api/#oauth-authentication
91+
*/
92+
OAuth = "m.oauth",
8893
}
8994

9095
/**

0 commit comments

Comments
 (0)