J'utilise le OWIN OAuth 2.0 Authorization Server sample comme un temple pour créer mon propre fournisseur de services OAuth en utilisant nos sociétés Active Directory.OWIN OAuth 2.0 Autorisation serveur - namespace chemins
Le « Télécharger l'exemple de code » ne fonctionne pas et je ne peux pas trouver l'objet Paths
dans l'extrait de code suivant
// Enable the Application Sign In Cookie.
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = "Application",
AuthenticationMode = AuthenticationMode.Passive,
LoginPath = new PathString(Paths.LoginPath),
LogoutPath = new PathString(Paths.LogoutPath),
});
Qu'est-ce que l'espace de noms ne le Paths
appartiennent à?