|
|
Wur.Dip.Brightspace.AuthSdk
|
|
|
======
|
|
|
**Wur.Dip.Brightspace.AuthSdk** is een nuget package waarmee op een gemakkelijke manier de Brightspace authenticatie te gebruiken voor het gebruiken van de verschillende api's.
|
|
|
|
|
|
**Wur.Dip.Brightspace.AuthSdk** is a nuget package for dealing with Brightspace authentication in .NET core.
|
|
|
|
|
|
## Installatie
|
|
|
|
|
|
1. Voeg de WUR nuget source toe aan het project.
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
1. Voeg de nuget source toe voor dit package.
|
|
|
|
|
|
|
|
|
- Vraag een deploy token aan.
|
|
|
- Voeg een Nuget source toe aan het project. Dat kan in Visual Studio, met nuget.exe of door het plaatsen van een bestand met de naam _nuget.config_ in de root van de solution.
|
|
|
|
|
|
_nuget.config_ voorbeeld:
|
|
|
```
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<configuration>
|
|
|
<packageSources>
|
|
|
<add key="Wur.Dip.Brightspace.Authsdk" value="https://git.wur.nl/api/v4/projects/7425/packages/nuget/index.json" />
|
|
|
</packageSources>
|
|
|
<packageSourceCredentials>
|
|
|
<Wur.Dip.Brightspace.Authsdk>
|
|
|
<add key="Username" value="[deploy token gebruikersnaam]"/>
|
|
|
<add key="ClearTextPassword" value="[deploytoken]"/>
|
|
|
</Wur.Dip.Brightspace.Authsdk>
|
|
|
</packageSourceCredentials>
|
|
|
</configuration>
|
|
|
|
|
|
https://nuget.wurnet.nl/nuget
|
|
|
```
|
|
|
|
|
|
|
|
|
2. Het nuget package kan nu worden toegevoegd aan het project.
|
|
|
|
|
|
[]([url](url))
|
|
|
![File](doc/img/file.png)
|
|
|
![Select](doc/img/select.png)
|
|
|
|
... | ... | |