Skip to content

Commit

Permalink
Update docs and README
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAsterisco committed Apr 14, 2024
1 parent 907029a commit d0f5dfd
Show file tree
Hide file tree
Showing 154 changed files with 163 additions and 149 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,16 @@ or Google Sign In:
func confirmAuthenticationWithGoogle(as clientId: String, in viewController: UIViewController) -> Completable
```

## Password Reset

With version 6.2.0, RxFireAuth introduces a new method to reset the user password. You can call:

```swift
func resetPassword(for email: String) -> Completable
```

This method will send an email to the user with a link to reset their password. You can customize the email content, sender, and more in the Firebase Console.

## Documentation

**Always refer to the `UserManagerType` and `LoginProviderManagerType` protocols** in your code, because the `UserManager` implementation may introduce breaking changes over time even if the library major version hasn't changed.
Expand Down
2 changes: 1 addition & 1 deletion docs/data/documentation/rxfireauth.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"topicSections":[{"identifiers":["doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/apple","doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/google","doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/password"],"title":"Enumeration Cases"},{"identifiers":["doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/init(rawValue:)"],"title":"Initializers"},{"identifiers":["doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/Equatable-Implementations","doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/RawRepresentable-Implementations"],"title":"Default Implementations","generated":true}],"abstract":[{"text":"An authentication provider.","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AuthenticationProvider","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}]},{"kind":"content","content":[{"level":2,"text":"Overview","type":"heading","anchor":"overview"},{"type":"aside","name":"Since","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"version 4.0.0"}]}],"style":"note"}]}],"identifier":{"url":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/rxfireauth\/authenticationprovider"]}],"hierarchy":{"paths":[["doc:\/\/RxFireAuth\/documentation\/RxFireAuth"]]},"kind":"symbol","relationshipsSections":[{"identifiers":["doc:\/\/RxFireAuth\/SQ","doc:\/\/RxFireAuth\/SH","doc:\/\/RxFireAuth\/SY"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"metadata":{"externalID":"s:10RxFireAuth22AuthenticationProviderO","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AuthenticationProvider","kind":"identifier"}],"roleHeading":"Enumeration","title":"AuthenticationProvider","navigatorTitle":[{"text":"AuthenticationProvider","kind":"identifier"}],"symbolKind":"enum","modules":[{"name":"RxFireAuth"}],"role":"symbol"},"sections":[],"references":{"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/RawRepresentable-Implementations":{"kind":"article","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/RawRepresentable-Implementations","url":"\/documentation\/rxfireauth\/authenticationprovider\/rawrepresentable-implementations","title":"RawRepresentable Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/google":{"type":"topic","kind":"symbol","url":"\/documentation\/rxfireauth\/authenticationprovider\/google","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/google","role":"symbol","title":"AuthenticationProvider.google","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"google","kind":"identifier"}],"abstract":[{"type":"text","text":"Google Sign In"}]},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/Equatable-Implementations":{"title":"Equatable Implementations","type":"topic","role":"collectionGroup","url":"\/documentation\/rxfireauth\/authenticationprovider\/equatable-implementations","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/Equatable-Implementations","kind":"article","abstract":[]},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/apple":{"title":"AuthenticationProvider.apple","abstract":[{"type":"text","text":"Sign in with Apple."}],"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"apple","kind":"identifier"}],"url":"\/documentation\/rxfireauth\/authenticationprovider\/apple","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/apple","kind":"symbol","role":"symbol","type":"topic"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/password":{"title":"AuthenticationProvider.password","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/password","url":"\/documentation\/rxfireauth\/authenticationprovider\/password","type":"topic","kind":"symbol","role":"symbol","abstract":[{"type":"text","text":"Email & Password"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"password"}]},"doc://RxFireAuth/documentation/RxFireAuth":{"title":"RxFireAuth","abstract":[],"type":"topic","kind":"symbol","role":"collection","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth","url":"\/documentation\/rxfireauth"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/init(rawValue:)":{"abstract":[],"kind":"symbol","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/init(rawValue:)","role":"symbol","type":"topic","url":"\/documentation\/rxfireauth\/authenticationprovider\/init(rawvalue:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"title":"init(rawValue:)"},"doc://RxFireAuth/SY":{"identifier":"doc:\/\/RxFireAuth\/SY","title":"Swift.RawRepresentable","type":"unresolvable"},"doc://RxFireAuth/SQ":{"identifier":"doc:\/\/RxFireAuth\/SQ","title":"Swift.Equatable","type":"unresolvable"},"doc://RxFireAuth/SH":{"identifier":"doc:\/\/RxFireAuth\/SH","title":"Swift.Hashable","type":"unresolvable"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider":{"identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider","abstract":[{"text":"An authentication provider.","type":"text"}],"url":"\/documentation\/rxfireauth\/authenticationprovider","role":"symbol","kind":"symbol","title":"AuthenticationProvider","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"AuthenticationProvider"}],"type":"topic","navigatorTitle":[{"text":"AuthenticationProvider","kind":"identifier"}]}}}
{"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/apple","doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/google","doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/password"]},{"title":"Initializers","identifiers":["doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/init(rawValue:)"]},{"identifiers":["doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/Equatable-Implementations","doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/RawRepresentable-Implementations"],"generated":true,"title":"Default Implementations"}],"abstract":[{"text":"An authentication provider.","type":"text"}],"relationshipsSections":[{"kind":"relationships","title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/RxFireAuth\/SQ","doc:\/\/RxFireAuth\/SH","doc:\/\/RxFireAuth\/SY"]}],"identifier":{"url":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/RxFireAuth\/documentation\/RxFireAuth"]]},"metadata":{"symbolKind":"enum","modules":[{"name":"RxFireAuth"}],"title":"AuthenticationProvider","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AuthenticationProvider","kind":"identifier"}],"navigatorTitle":[{"text":"AuthenticationProvider","kind":"identifier"}],"externalID":"s:10RxFireAuth22AuthenticationProviderO","role":"symbol","roleHeading":"Enumeration"},"sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["macOS"],"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"AuthenticationProvider"}]}],"kind":"declarations"},{"kind":"content","content":[{"level":2,"anchor":"overview","text":"Overview","type":"heading"},{"style":"note","type":"aside","name":"Since","content":[{"type":"paragraph","inlineContent":[{"text":"version 4.0.0","type":"text"}]}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/rxfireauth\/authenticationprovider"]}],"references":{"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/RawRepresentable-Implementations":{"type":"topic","title":"RawRepresentable Implementations","abstract":[],"role":"collectionGroup","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/RawRepresentable-Implementations","kind":"article","url":"\/documentation\/rxfireauth\/authenticationprovider\/rawrepresentable-implementations"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/password":{"type":"topic","title":"AuthenticationProvider.password","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"password","kind":"identifier"}],"abstract":[{"text":"Email & Password","type":"text"}],"role":"symbol","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/password","kind":"symbol","url":"\/documentation\/rxfireauth\/authenticationprovider\/password"},"doc://RxFireAuth/SY":{"identifier":"doc:\/\/RxFireAuth\/SY","title":"Swift.RawRepresentable","type":"unresolvable"},"doc://RxFireAuth/documentation/RxFireAuth":{"title":"RxFireAuth","url":"\/documentation\/rxfireauth","kind":"symbol","type":"topic","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth","abstract":[],"role":"collection"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider":{"type":"topic","title":"AuthenticationProvider","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"AuthenticationProvider"}],"abstract":[{"text":"An authentication provider.","type":"text"}],"navigatorTitle":[{"text":"AuthenticationProvider","kind":"identifier"}],"role":"symbol","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider","kind":"symbol","url":"\/documentation\/rxfireauth\/authenticationprovider"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/google":{"type":"topic","title":"AuthenticationProvider.google","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"google"}],"abstract":[{"text":"Google Sign In","type":"text"}],"role":"symbol","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/google","kind":"symbol","url":"\/documentation\/rxfireauth\/authenticationprovider\/google"},"doc://RxFireAuth/SQ":{"identifier":"doc:\/\/RxFireAuth\/SQ","title":"Swift.Equatable","type":"unresolvable"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/apple":{"role":"symbol","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/apple","kind":"symbol","title":"AuthenticationProvider.apple","url":"\/documentation\/rxfireauth\/authenticationprovider\/apple","type":"topic","abstract":[{"text":"Sign in with Apple.","type":"text"}],"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"apple","kind":"identifier"}]},"doc://RxFireAuth/SH":{"identifier":"doc:\/\/RxFireAuth\/SH","title":"Swift.Hashable","type":"unresolvable"},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/init(rawValue:)":{"role":"symbol","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/init(rawValue:)","kind":"symbol","title":"init(rawValue:)","url":"\/documentation\/rxfireauth\/authenticationprovider\/init(rawvalue:)","type":"topic","abstract":[],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"rawValue"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]},"doc://RxFireAuth/documentation/RxFireAuth/AuthenticationProvider/Equatable-Implementations":{"role":"collectionGroup","identifier":"doc:\/\/RxFireAuth\/documentation\/RxFireAuth\/AuthenticationProvider\/Equatable-Implementations","kind":"article","title":"Equatable Implementations","url":"\/documentation\/rxfireauth\/authenticationprovider\/equatable-implementations","type":"topic","abstract":[]}}}
Loading

0 comments on commit d0f5dfd

Please sign in to comment.