mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
Merge branch 'master' of github.com:bitwarden/mobile
This commit is contained in:
@@ -55,7 +55,6 @@ namespace Bit.iOS.Autofill
|
|||||||
{
|
{
|
||||||
_context.ServiceIdentifiers = serviceIdentifiers;
|
_context.ServiceIdentifiers = serviceIdentifiers;
|
||||||
_context.UrlString = serviceIdentifiers[0].Identifier;
|
_context.UrlString = serviceIdentifiers[0].Identifier;
|
||||||
base.PrepareCredentialList(serviceIdentifiers);
|
|
||||||
|
|
||||||
var authService = Resolver.Resolve<IAuthService>();
|
var authService = Resolver.Resolve<IAuthService>();
|
||||||
if(!authService.IsAuthenticated)
|
if(!authService.IsAuthenticated)
|
||||||
@@ -89,8 +88,6 @@ namespace Bit.iOS.Autofill
|
|||||||
|
|
||||||
public override void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity)
|
public override void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity)
|
||||||
{
|
{
|
||||||
base.ProvideCredentialWithoutUserInteraction(credentialIdentity);
|
|
||||||
|
|
||||||
bool canGetCredentials = false;
|
bool canGetCredentials = false;
|
||||||
var authService = Resolver.Resolve<IAuthService>();
|
var authService = Resolver.Resolve<IAuthService>();
|
||||||
if(authService.IsAuthenticated)
|
if(authService.IsAuthenticated)
|
||||||
@@ -104,7 +101,7 @@ namespace Bit.iOS.Autofill
|
|||||||
{
|
{
|
||||||
var err = new NSError(new NSString("ASExtensionErrorDomain"),
|
var err = new NSError(new NSString("ASExtensionErrorDomain"),
|
||||||
Convert.ToInt32(ASExtensionErrorCode.UserInteractionRequired), null);
|
Convert.ToInt32(ASExtensionErrorCode.UserInteractionRequired), null);
|
||||||
ExtensionContext.CancelRequest(err);
|
this.ExtensionContext.CancelRequest(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_context.CredentialIdentity = credentialIdentity;
|
_context.CredentialIdentity = credentialIdentity;
|
||||||
@@ -146,7 +143,6 @@ namespace Bit.iOS.Autofill
|
|||||||
|
|
||||||
public override void PrepareInterfaceForExtensionConfiguration()
|
public override void PrepareInterfaceForExtensionConfiguration()
|
||||||
{
|
{
|
||||||
base.PrepareInterfaceForExtensionConfiguration();
|
|
||||||
var authService = Resolver.Resolve<IAuthService>();
|
var authService = Resolver.Resolve<IAuthService>();
|
||||||
if(authService.IsAuthenticated)
|
if(authService.IsAuthenticated)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user