MCPcopy Create free account
hub / github.com/OneSignal/onesignal-node-api / SecurityAuthentication

Interface SecurityAuthentication

auth/auth.ts:9–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 * Interface authentication schemes.
8 */
9export interface SecurityAuthentication {
10 /*
11 * @return returns the name of the security authentication as specified in OAI
12 */
13 getName(): string;
14
15 /**
16 * Applies the authentication scheme to the request context
17 *
18 * @params context the request context which should use this authentication scheme
19 */
20 applySecurityAuthentication(context: RequestContext): void | Promise<void>;
21}
22
23export interface TokenProvider {
24 getToken(): Promise<string> | string;

Callers 8

cancelNotificationMethod · 0.65
copyTemplateToAppMethod · 0.65
createAliasMethod · 0.65
createApiKeyMethod · 0.65
createAppMethod · 0.65
createCustomEventsMethod · 0.65
createNotificationMethod · 0.65

Implementers 2

Calls

no outgoing calls

Tested by

no test coverage detected