mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-05-02 23:02:50 +08:00

* hacked together load balancing reroutes in fileconfig * some renaming and refactoring * more renames * hacked away the old config json * test for issue 213 * renamed key * dont share ports * oops * updated docs * mvoed docs around * port being used
12 lines
411 B
C#
12 lines
411 B
C#
using Ocelot.Configuration.File;
|
|
|
|
namespace Ocelot.Configuration.Creator
|
|
{
|
|
public class AuthenticationOptionsCreator : IAuthenticationOptionsCreator
|
|
{
|
|
public AuthenticationOptions Create(FileReRoute reRoute)
|
|
{
|
|
return new AuthenticationOptions(reRoute.AuthenticationOptions.AllowedScopes, reRoute.AuthenticationOptions.AuthenticationProviderKey);
|
|
}
|
|
}
|
|
} |