forked from Soluto/oidc-server-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to Duende (Soluto#115)
Co-authored-by: Peter Fern <[email protected]> Co-authored-by: Peter Fern <[email protected]>
- Loading branch information
Showing
35 changed files
with
412 additions
and
510 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
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,6 +10,5 @@ obj | |
.docker | ||
|
||
# UI | ||
Quickstart | ||
Views | ||
wwwroot | ||
src/Pages | ||
src/wwwroot |
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 was deleted.
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,95 +1,58 @@ | ||
[ | ||
{ 'SubjectId': 'simple_user', 'Username': 'simple_user', 'Password': 'pwd' }, | ||
{ | ||
"SubjectId": "simple_user", | ||
"Username": "simple_user", | ||
"Password": "pwd" | ||
'SubjectId': 'user_with_standard_claims', | ||
'Username': 'user_with_standard_claims', | ||
'Password': 'pwd', | ||
'Claims': | ||
[ | ||
{ 'Type': 'name', 'Value': 'John Smith', 'ValueType': 'string' }, | ||
{ 'Type': 'email', 'Value': '[email protected]', 'ValueType': 'emailaddress' }, | ||
{ 'Type': 'email_verified', 'Value': 'true', 'ValueType': 'boolean' }, | ||
], | ||
}, | ||
{ | ||
"SubjectId": "user_with_standard_claims", | ||
"Username": "user_with_standard_claims", | ||
"Password": "pwd", | ||
"Claims": [ | ||
{ | ||
"Type": "name", | ||
"Value": "John Smith" | ||
}, | ||
{ | ||
"Type": "email", | ||
"Value": "[email protected]" | ||
}, | ||
{ | ||
"Type": "email_verified", | ||
"Value": "true" | ||
} | ||
] | ||
'SubjectId': 'user_with_custom_identity_claims', | ||
'Username': 'user_with_custom_identity_claims', | ||
'Password': 'pwd', | ||
'Claims': | ||
[ | ||
{ 'Type': 'name', 'Value': 'Jack Sparrow', 'ValueType': 'string' }, | ||
{ 'Type': 'email', 'Value': '[email protected]', 'ValueType': 'emailaddress' }, | ||
{ 'Type': 'some-custom-identity-user-claim', 'Value': "Jack's Custom User Claim", 'ValueType': 'string' }, | ||
], | ||
}, | ||
{ | ||
"SubjectId": "user_with_custom_identity_claims", | ||
"Username": "user_with_custom_identity_claims", | ||
"Password": "pwd", | ||
"Claims": [ | ||
{ | ||
"Type": "name", | ||
"Value": "Jack Sparrow" | ||
}, | ||
{ | ||
"Type": "email", | ||
"Value": "[email protected]" | ||
}, | ||
{ | ||
"Type": "some-custom-identity-user-claim", | ||
"Value": "Jack's Custom User Claim" | ||
} | ||
] | ||
'SubjectId': 'user_with_custom_api_resource_claims', | ||
'Username': 'user_with_custom_api_resource_claims', | ||
'Password': 'pwd', | ||
'Claims': | ||
[ | ||
{ 'Type': 'name', 'Value': 'Sam Tailor', 'ValueType': 'string' }, | ||
{ 'Type': 'email', 'Value': '[email protected]', 'ValueType': 'emailaddress' }, | ||
{ 'Type': 'some-app-user-custom-claim', 'Value': "Sam's Custom User Claim", 'ValueType': 'string' }, | ||
{ | ||
'Type': 'some-app-scope-1-custom-user-claim', | ||
'Value': "Sam's Scope Custom User Claim", | ||
'ValueType': 'string', | ||
}, | ||
], | ||
}, | ||
{ | ||
"SubjectId": "user_with_custom_api_resource_claims", | ||
"Username": "user_with_custom_api_resource_claims", | ||
"Password": "pwd", | ||
"Claims": [ | ||
{ | ||
"Type": "name", | ||
"Value": "Sam Tailor" | ||
}, | ||
{ | ||
"Type": "email", | ||
"Value": "[email protected]" | ||
}, | ||
{ | ||
"Type": "some-app-user-custom-claim", | ||
"Value": "Sam's Custom User Claim" | ||
}, | ||
{ | ||
"Type": "some-app-scope-1-custom-user-claim", | ||
"Value": "Sam's Scope Custom User Claim" | ||
} | ||
] | ||
'SubjectId': 'user_with_all_claim_types', | ||
'Username': 'user_with_all_claim_types', | ||
'Password': 'pwd', | ||
'Claims': | ||
[ | ||
{ 'Type': 'name', 'Value': 'Oliver Hunter', 'ValueType': 'string' }, | ||
{ 'Type': 'email', 'Value': '[email protected]', 'ValueType': 'emailaddress' }, | ||
{ 'Type': 'some-app-user-custom-claim', 'Value': "Oliver's Custom User Claim", 'ValueType': 'string' }, | ||
{ | ||
'Type': 'some-app-scope-1-custom-user-claim', | ||
'Value': "Oliver's Scope Custom User Claim", | ||
'ValueType': 'string', | ||
}, | ||
{ 'Type': 'some-custom-identity-user-claim', 'Value': "Oliver's Custom User Claim", 'ValueType': 'string' }, | ||
], | ||
}, | ||
{ | ||
"SubjectId": "user_with_all_claim_types", | ||
"Username": "user_with_all_claim_types", | ||
"Password": "pwd", | ||
"Claims": [ | ||
{ | ||
"Type": "name", | ||
"Value": "Oliver Hunter" | ||
}, | ||
{ | ||
"Type": "email", | ||
"Value": "[email protected]" | ||
}, | ||
{ | ||
"Type": "some-app-user-custom-claim", | ||
"Value": "Oliver's Custom User Claim" | ||
}, | ||
{ | ||
"Type": "some-app-scope-1-custom-user-claim", | ||
"Value": "Oliver's Scope Custom User Claim" | ||
}, | ||
{ | ||
"Type": "some-custom-identity-user-claim", | ||
"Value": "Oliver's Custom User Claim" | ||
} | ||
] | ||
} | ||
] |
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
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
Oops, something went wrong.