mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
This PR contains the necessary work to make Outline an OAuth provider including: - OAuth app registration - OAuth app management - Private / public apps (Public in cloud only) - Full OAuth 2.0 spec compatible authentication flow - Granular scopes - User token management screen in settings - Associated API endpoints for programatic access
12 lines
354 B
TypeScript
12 lines
354 B
TypeScript
import OAuthAuthentication from "~/models/oauth/OAuthAuthentication";
|
|
import RootStore from "./RootStore";
|
|
import Store from "./base/Store";
|
|
|
|
export default class OAuthAuthenticationsStore extends Store<OAuthAuthentication> {
|
|
apiEndpoint = "oauthAuthentications";
|
|
|
|
constructor(rootStore: RootStore) {
|
|
super(rootStore, OAuthAuthentication);
|
|
}
|
|
}
|