Skip to content

Commit

Permalink
[LocalAuthentication] Added suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Israel Soto committed Sep 6, 2022
1 parent ab9c247 commit 0ddf1eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/localauthentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ interface LAContext {
[Export ("localizedReason")]
string LocalizedReason { get; set; }

[Watch (4,0), NoTV, Mac (10, 13), iOS (11, 0)]
[Watch (9,0), NoTV, Mac (10, 13), iOS (11, 0)]
[Export ("interactionNotAllowed")]
bool InteractionNotAllowed { get; set; }

Expand Down Expand Up @@ -249,27 +249,27 @@ interface LARightStore

[Async]
[Export ("rightForIdentifier:completion:")]
void GetRight (string identifier, LARightStoreCompletionHandler handler);
void Get (string identifier, LARightStoreCompletionHandler handler);

[Async]
[Export ("saveRight:identifier:completion:")]
void SaveRight (LARight right, string identifier, LARightStoreCompletionHandler handler);
void Save (LARight right, string identifier, LARightStoreCompletionHandler handler);

[Async]
[Export ("saveRight:identifier:secret:completion:")]
void SaveRight (LARight right, string identifier, NSData secret, LARightStoreCompletionHandler handler);
void Save (LARight right, string identifier, NSData secret, LARightStoreCompletionHandler handler);

[Async]
[Export ("removeRight:completion:")]
void RemoveRight (LAPersistedRight right, LARightStoreRemoveRightCompletionHandler handler);
void Remove (LAPersistedRight right, LARightStoreRemoveRightCompletionHandler handler);

[Async]
[Export ("removeRightForIdentifier:completion:")]
void RemoveRight (string identifier, LARightStoreRemoveRightCompletionHandler handler);
void Remove (string identifier, LARightStoreRemoveRightCompletionHandler handler);

[Async]
[Export ("removeAllRightsWithCompletion:")]
void RemoveAllRights (LARightStoreRemoveRightCompletionHandler handler);
void RemoveAll (LARightStoreRemoveRightCompletionHandler handler);
}

delegate void LASecretCompletionHandler ([NullAllowed] NSData data, [NullAllowed] NSError error);
Expand Down

0 comments on commit 0ddf1eb

Please sign in to comment.