Skip to content

Commit 4069f7f

Browse files
committed
Hello world
1 parent 060dc49 commit 4069f7f

18 files changed

+3010
-2
lines changed

README.md

+540-2
Large diffs are not rendered by default.

atte22.md

+635
Large diffs are not rendered by default.

diagrams/consent.puml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@startuml
2+
3+
skinparam linetype polyline
4+
'skinparam sequenceMessageAlign left
5+
skinparam nodesep 75
6+
skinparam ranksep 45
7+
8+
' Azure
9+
!define AzurePuml https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/master/dist
10+
!includeurl AzurePuml/AzureCommon.puml
11+
!includeurl AzurePuml/AzureSimplified.puml
12+
!includeurl AzurePuml/Identity/AzureActiveDirectoryUser.puml
13+
!includeurl AzurePuml/Identity/AzureEnterpriseApplication.puml
14+
!includeurl AzurePuml/Identity/AzureActiveDirectory.puml
15+
!includeurl AzurePuml/Analytics/AzureAnalysisServices.puml
16+
17+
skinparam MaxMessageSize 1500
18+
skinparam MaxAsciiMessageLength 1500
19+
20+
AzureActiveDirectoryUser(resourceowner, "\nResource Owner\n(End-User)", "Global")
21+
AzureEnterpriseApplication(clientapp, "\nClient Application\n(Third-Party OAuth Apps)", "Global")
22+
AzureActiveDirectory(aad, "\nAuthorization Server\n(Azure Active Directory)", "Global")
23+
AzureAnalysisServices(resourceserver, "\nResource Server\n(Microsoft Graph)", "Global")
24+
25+
resourceserver -[dotted]l---> aad: "Exposes API as scope"
26+
resourceserver <---d- clientapp: " Bears tokens "
27+
clientapp -l---> resourceowner: "Requests consent "
28+
resourceowner -u---> aad: " Grants consent\n to client for scope"
29+
aad ---> clientapp: "Issues Tokens"
30+
31+
@endumls
32+

diagrams/obtains-tokens.puml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
@startuml
2+
3+
'skinparam linetype polyline
4+
skinparam sequenceMessageAlign left
5+
skinparam nodesep 40
6+
'skinparam ranksep 10
7+
8+
9+
' Azure
10+
!define AzurePuml https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/master/dist
11+
!includeurl AzurePuml/AzureCommon.puml
12+
!includeurl AzurePuml/AzureSimplified.puml
13+
!includeurl AzurePuml/Identity/AzureActiveDirectoryUser.puml
14+
!includeurl AzurePuml/Identity/AzureEnterpriseApplication.puml
15+
!includeurl AzurePuml/Identity/AzureActiveDirectory.puml
16+
!includeurl AzurePuml/Analytics/AzureAnalysisServices.puml
17+
18+
skinparam sequence {
19+
ParticipantBorderColor #666666
20+
ParticipantBackgroundColor AZURE_BG_COLOR
21+
ParticipantPadding 50
22+
}
23+
24+
skinparam SequenceLifeLineBorderColor AZURE_BORDER_COLOR
25+
skinparam MaxMessageSize 1500
26+
skinparam MaxAsciiMessageLength 1500
27+
28+
participant user as "<$AzureActiveDirectoryUser,color=#0072C6>\nResource Owner\n(End-User)"
29+
participant client as "<$AzureEnterpriseApplication,color=#0072C6>\nClient Application\n(Azure CLI)"
30+
participant resource as "<$AzureAnalysisServices,color=#0072C6>\nResource Server\n(Microsoft Graph)"
31+
participant aad as "<$AzureActiveDirectory,color=#0072C6>\nAuthorization Server\n(Azure Active Directory)"
32+
33+
autonumber
34+
user -> client: Uses client application
35+
|||
36+
client -> user: Initiates auth flow
37+
|||
38+
user -> aad: Interactively signs-in
39+
|||
40+
aad -> client: Returns access token & refresh token
41+
|||
42+
client -> resource: Bears access token in HTTP header
43+
|||
44+
45+
@endumls
46+

diagrams/refresh-tokens.puml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
@startuml
2+
3+
'skinparam linetype polyline
4+
skinparam sequenceMessageAlign left
5+
skinparam nodesep 40
6+
'skinparam ranksep 10
7+
8+
9+
' Azure
10+
!define AzurePuml https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/master/dist
11+
!includeurl AzurePuml/AzureCommon.puml
12+
!includeurl AzurePuml/AzureSimplified.puml
13+
!includeurl AzurePuml/Identity/AzureActiveDirectoryUser.puml
14+
!includeurl AzurePuml/Identity/AzureEnterpriseApplication.puml
15+
!includeurl AzurePuml/Identity/AzureActiveDirectory.puml
16+
!includeurl AzurePuml/Analytics/AzureAnalysisServices.puml
17+
18+
skinparam sequence {
19+
ParticipantBorderColor #666666
20+
ParticipantBackgroundColor AZURE_BG_COLOR
21+
ParticipantPadding 50
22+
}
23+
24+
skinparam SequenceLifeLineBorderColor AZURE_BORDER_COLOR
25+
skinparam MaxMessageSize 1500
26+
skinparam MaxAsciiMessageLength 1500
27+
28+
29+
participant user as "<$AzureActiveDirectoryUser,color=#0072C6>\nResource Owner\n(End-User)"
30+
participant client as "<$AzureEnterpriseApplication,color=#0072C6>\nClient Application\n(Azure CLI)"
31+
participant resource as "<$AzureAnalysisServices,color=#0072C6>\nResource Server\n(Microsoft Graph)"
32+
participant aad as "<$AzureActiveDirectory,color=#0072C6>\nAuthorization Server\n(Azure Active Directory)"
33+
34+
autonumber
35+
client -x resource: Access token expires
36+
|||
37+
client -> aad: Redeems refresh token
38+
|||
39+
aad -> client: Returns new\naccess token & refresh token
40+
|||
41+
client -> resource: Bears access token in HTTP header
42+
43+
@endumls
44+

images/consent.svg

+156
Loading

images/device-code.png

232 KB
Loading

images/obtains-tokens.svg

+174
Loading

images/refresh-tokens.svg

+170
Loading

images/signins-scopes.PNG

162 KB
Loading

images/signins.png

90.6 KB
Loading

images/sso-cs.png

430 KB
Loading

known-foci-clients.csv

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
client_id,application_name
2+
00b41c95-dab0-4487-9791-b9d2c32c80f2,Office 365 Management
3+
04b07795-8ddb-461a-bbee-02f9e1bf7b46,Microsoft Azure CLI
4+
1950a258-227b-4e31-a9cf-717495945fc2,Microsoft Azure PowerShell
5+
1fec8e78-bce4-4aaf-ab1b-5451cc387264,Microsoft Teams
6+
26a7ee05-5602-4d76-a7ba-eae8b7b67941,Windows Search
7+
27922004-5251-4030-b22d-91ecd9a37ea4,Outlook Mobile
8+
4813382a-8fa7-425e-ab75-3b753aab3abb,Microsoft Authenticator App
9+
ab9b8c07-8f02-4f72-87fa-80105867a763,OneDrive SyncEngine
10+
d3590ed6-52b3-4102-aeff-aad2292ab01c,Microsoft Office
11+
872cd9fa-d31f-45e0-9eab-6e460a02d1f1,Visual Studio
12+
af124e86-4e96-495a-b70a-90f90ab96707,OneDrive iOS App
13+
2d7f3606-b07d-41d1-b9d2-0d0c9296a6e8,Microsoft Bing Search for Microsoft Edge
14+
844cca35-0656-46ce-b636-13f48b0eecbd,Microsoft Stream Mobile Native
15+
87749df4-7ccf-48f8-aa87-704bad0e0e16,Microsoft Teams - Device Admin Agent
16+
cf36b471-5b44-428c-9ce7-313bf84528de,Microsoft Bing Search

postBuild

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
jupyter nbextension install --py jupytext --user
6+
jupytext --to notebook README.md
7+
jupytext --to notebook atte22.md

requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
msal
2+
pyjwt
3+
requests
4+
jupytext
5+
pandas

runtime.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-3.9

0 commit comments

Comments
 (0)