Просмотр исходного кода

Add documentation for GIDKeychainHandler API

pinlu 3 лет назад
Родитель
Сommit
e7cdc7e65c
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      GoogleSignIn/Sources/GIDKeychainHandler/API/GIDKeychainHandler.h

+ 3 - 0
GoogleSignIn/Sources/GIDKeychainHandler/API/GIDKeychainHandler.h

@@ -22,10 +22,13 @@ NS_ASSUME_NONNULL_BEGIN
 
 @protocol GIDKeychainHandler <NSObject>
 
+/// Loads the AuthState object from the keychain.
 - (nullable OIDAuthState *)loadAuthState;
 
+/// Saves the AuthState object to the keychain.
 - (BOOL)saveAuthState:(OIDAuthState *)authState;
 
+/// Removes the authState object saved in the keychain.
 - (void)removeAllKeychainEntries;
 
 @end