Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/directus/directus
/ getAuthEndpoint
Function
getAuthEndpoint
sdk/src/rest/utils/get-auth-endpoint.ts:5–8 ·
view source on GitHub ↗
(provider?: string)
Source
from the content-addressed store, hash-verified
3
* @returns The endpoint to be used
for
authentication
4
*/
5
export
function
getAuthEndpoint(provider?: string): string {
6
if
(provider)
return
`/auth/login/${provider}`;
7
return
'/auth/login'
;
8
}
Callers
3
login
Function · 0.90
login
Function · 0.85
login
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected