Browse Source
Add ClassLink to the list of supported providers
pull/2041/head
Jonathan Law
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
26 additions and
8 deletions
-
sandbox/OpenIddict.Sandbox.Console.Client/InteractiveService.cs
-
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml
-
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xsd
|
|
|
@ -383,6 +383,11 @@ public class InteractiveService : BackgroundService |
|
|
|
choices.Add((GrantTypes.ClientCredentials, "Client credentials grant (application authentication only)")); |
|
|
|
} |
|
|
|
|
|
|
|
if (choices.Count is 0) |
|
|
|
{ |
|
|
|
choices.Add((GrantTypes.AuthorizationCode, "Authorization code grant")); |
|
|
|
} |
|
|
|
|
|
|
|
if (choices.Count is 1) |
|
|
|
{ |
|
|
|
return choices[0].GrantType; |
|
|
|
|
|
|
|
@ -310,14 +310,27 @@ |
|
|
|
</Provider> |
|
|
|
|
|
|
|
<!-- |
|
|
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |
|
|
|
██ ▄▄▀██ █████ ▄▄▄██ ███ █ ▄▄▄██ ▄▄▀██ |
|
|
|
██ █████ █████ ▄▄▄███ █ ██ ▄▄▄██ ▀▀▄██ |
|
|
|
██ ▀▀▄██ ▀▀ ██ ▀▀▀███▄▀▄██ ▀▀▀██ ██ ██ |
|
|
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ |
|
|
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |
|
|
|
██ ▄▄▀██ █████ ▄▄▀██ ▄▄▄ ██ ▄▄▄ ██ ████▄ ▄█ ▀██ ██ █▀▄██ |
|
|
|
██ █████ █████ ▀▀ ██▄▄▄▀▀██▄▄▄▀▀██ █████ ██ █ █ ██ ▄▀███ |
|
|
|
██ ▀▀▄██ ▀▀ ██ ██ ██ ▀▀▀ ██ ▀▀▀ ██ ▀▀ █▀ ▀█ ██▄ ██ ██ ██ |
|
|
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ |
|
|
|
--> |
|
|
|
|
|
|
|
<Provider Name="ClassLink" Id="4bdb0adc-5609-4750-8098-cf3ff5d782df" |
|
|
|
Documentation="https://help.classlink.com/s/topic/0TO1E0000009PVYWA2/api"> |
|
|
|
<Environment Issuer="https://launchpad.classlink.com/" /> |
|
|
|
</Provider> |
|
|
|
|
|
|
|
<!-- |
|
|
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |
|
|
|
██ ▄▄▀██ █████ ▄▄▄██ ███ █ ▄▄▄██ ▄▄▀██ |
|
|
|
██ █████ █████ ▄▄▄███ █ ██ ▄▄▄██ ▀▀▄██ |
|
|
|
██ ▀▀▄██ ▀▀ ██ ▀▀▀███▄▀▄██ ▀▀▀██ ██ ██ |
|
|
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ |
|
|
|
--> |
|
|
|
|
|
|
|
<Provider Name="Clever" Id="8DF11BBC-B8A8-4A8D-8C5F-AD86D9539BBA" |
|
|
|
<Provider Name="Clever" Id="8df11bbc-b8a8-4a8d-8c5f-ad86d9539bba" |
|
|
|
Documentation="https://dev.clever.com/docs/oauth-oidc-overview"> |
|
|
|
<Environment Issuer="https://clever.com/" /> |
|
|
|
</Provider> |
|
|
|
|
|
|
|
@ -562,12 +562,12 @@ |
|
|
|
|
|
|
|
<xs:attribute name="Id" use="required"> |
|
|
|
<xs:annotation> |
|
|
|
<xs:documentation>The provider identifier, represented as a GUID.</xs:documentation> |
|
|
|
<xs:documentation>The provider identifier, represented as a lowercase GUID.</xs:documentation> |
|
|
|
</xs:annotation> |
|
|
|
|
|
|
|
<xs:simpleType> |
|
|
|
<xs:restriction base="xs:string"> |
|
|
|
<xs:pattern value="([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|(\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\})" /> |
|
|
|
<xs:pattern value="([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})|(\{[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\})" /> |
|
|
|
</xs:restriction> |
|
|
|
</xs:simpleType> |
|
|
|
</xs:attribute> |
|
|
|
|