-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba9ce0a
commit 6fe36eb
Showing
10 changed files
with
102 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist | ||
lib | ||
node_modules | ||
**/*.spec.* |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ tsconfig.json | |
.travis.yml | ||
tslint.json | ||
.eslintrc.json | ||
.eslintignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
// Copyright (c) Wictor Wilén. All rights reserved. | ||
// Licensed under the MIT license. | ||
/** | ||
* Options for the Teams Simpleauth router | ||
*/ | ||
export interface ISimpleAuthRouterOptions { | ||
/** | ||
* The application/client id | ||
*/ | ||
appId: string; | ||
/** | ||
* The application/client id URI | ||
*/ | ||
appIdUri: string; | ||
/** | ||
* The appclication/client secret required for the on-behalf-of OAuth flow | ||
*/ | ||
appSecret: string; | ||
/** | ||
* Scopes requested | ||
*/ | ||
scopes: string[]; | ||
/** | ||
* Tenant id or "common" for multi-tenant applications | ||
*/ | ||
tenantId: string | "common"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
// Copyright (c) Wictor Wilén. All rights reserved. | ||
// Licensed under the MIT license. | ||
export { ISimpleAuthRouterOptions } from "./ISimpleAuthRouterOptions"; | ||
export { simpleAuthRouter } from "./simpleAuthRouter"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters