Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2567036747 | ||
|
|
2e5561befb | ||
|
|
202f215c19 | ||
|
|
28b4edbde9 |
@@ -84,7 +84,7 @@ A big thanks goes out to all these contributors without whom this would not have
|
||||
* Ben Foster (https://github.com/benfoster)
|
||||
* Jonathan Peterson (https://github.com/eonasdan)
|
||||
|
||||
For most accurate and up to date list of contributors please see https://github.com/RockstarLabs/OwinOAuthProviders/graphs/contributors
|
||||
For most accurate and up to date list of contributors please see https://github.com/TerribleDev/OwinOAuthProviders/graphs/contributors
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ PACKAGES = File.expand_path("packages")
|
||||
TOOLS = File.expand_path("tools")
|
||||
NUGET = File.expand_path("#{TOOLS}/nuget")
|
||||
NUGET_EXE = File.expand_path("#{TOOLS}/nuget/nuget.exe")
|
||||
@version = "2.9.0"
|
||||
@version = "2.10.0"
|
||||
PROJECTS = Dir.glob('src/*').select{|dir| File.directory? dir }
|
||||
|
||||
desc 'Retrieve things'
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace Owin.Security.Providers.Salesforce
|
||||
LastName = TryGetValue(user, "last_name");
|
||||
TimeZone = TryGetValue(user, "timezone");
|
||||
Active = TryGetValue(user, "active");
|
||||
MobilePhone = TryGetValue(user, "mobile_phone");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -121,6 +122,11 @@ namespace Owin.Security.Providers.Salesforce
|
||||
/// </summary>
|
||||
public string Active { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the user's mobile phone number
|
||||
/// </summary>
|
||||
public string MobilePhone { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the <see cref="ClaimsIdentity"/> representing the user
|
||||
/// </summary>
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace Owin.Security.Providers.Salesforce
|
||||
Caption = Constants.DefaultAuthenticationType;
|
||||
CallbackPath = new PathString("/signin-salesforce");
|
||||
AuthenticationMode = AuthenticationMode.Passive;
|
||||
Scope = new List<string>();
|
||||
Scope = new List<string> { "id" };
|
||||
BackchannelTimeout = TimeSpan.FromSeconds(60);
|
||||
Endpoints = new SalesforceAuthenticationEndpoints
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user