ActionCodeOperation.swift 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2023 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. import Foundation
  15. /// Operations which can be performed with action codes.
  16. @objc(FIRActionCodeOperation) public enum ActionCodeOperation: Int, @unchecked Sendable {
  17. /// Action code for unknown operation.
  18. case unknown = 0
  19. /// Action code for password reset operation.
  20. case passwordReset = 1
  21. /// Action code for verify email operation.
  22. case verifyEmail = 2
  23. /// Action code for recover email operation.
  24. case recoverEmail = 3
  25. /// Action code for email link operation.
  26. case emailLink = 4
  27. /// Action code for verifying and changing email.
  28. case verifyAndChangeEmail = 5
  29. /// Action code for reverting second factor addition.
  30. case revertSecondFactorAddition = 6
  31. }