Skip to content

Commit

Permalink
Remove LinkedIn option
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-neko committed Jan 16, 2024
1 parent e60a626 commit 99c3632
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Change specification of `fars::IdpPostBody` for flexibility.
- Change namespaces of `verify` feature, e.g. `fars::VerificationConfig` -> `fars::verification::VerificationConfig`.

### Removed

- Remove `ProviderId::LinkedIn` because this option is not found in Firebase Auth console.

## [0.2.0] - 2024-01-11

### Added
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Supported OAuth ID provides are as follows:
- [x] GitHub (`github.com`)
- [x] Google (`google.com`)
- [ ] (Not tested) Google Play Games (`playgames.google.com`)
- [ ] (Not tested) LinkedIn (`linkedin.com`)
- [ ] (Not tested) Microsoft (`microsoft.com`)
- [ ] (Not tested) Twitter (`twitter.com`)
- [ ] (Not tested) Yahoo (`yahoo.com`)
Expand Down
1 change: 0 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
//! - [x] GitHub (`github.com`)
//! - [x] Google (`google.com`)
//! - [ ] (Not tested) Google Play Games (`playgames.google.com`)
//! - [ ] (Not tested) LinkedIn (`linkedin.com`)
//! - [ ] (Not tested) Microsoft (`microsoft.com`)
//! - [ ] (Not tested) Twitter (`twitter.com`)
//! - [ ] (Not tested) Yahoo (`yahoo.com`)
Expand Down
5 changes: 0 additions & 5 deletions src/data/provider_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ pub enum ProviderId {
Google,
/// Google Play Games.
GooglePlayGames,
/// LinkedIn.
LinkedIn,
/// Microsoft.
Microsoft,
/// Twitter (X).
Expand All @@ -42,7 +40,6 @@ impl Display for ProviderId {
| ProviderId::GitHub => write!(f, "github.com"),
| ProviderId::Google => write!(f, "google.com"),
| ProviderId::GooglePlayGames => write!(f, "playgames.google.com"),
| ProviderId::LinkedIn => write!(f, "linkedin.com"),
| ProviderId::Microsoft => write!(f, "microsoft.com"),
| ProviderId::Twitter => write!(f, "twitter.com"),
| ProviderId::Yahoo => write!(f, "yahoo.com"),
Expand All @@ -65,7 +62,6 @@ impl ProviderId {
| ProviderId::GitHub => "github.com".to_string(),
| ProviderId::Google => "google.com".to_string(),
| ProviderId::GooglePlayGames => "playgames.google.com".to_string(),
| ProviderId::LinkedIn => "linkedin.com".to_string(),
| ProviderId::Microsoft => "microsoft.com".to_string(),
| ProviderId::Twitter => "twitter.com".to_string(),
| ProviderId::Yahoo => "yahoo.com".to_string(),
Expand All @@ -89,7 +85,6 @@ impl ProviderId {
| "github.com" => ProviderId::GitHub,
| "google.com" => ProviderId::Google,
| "playgames.google.com" => ProviderId::GooglePlayGames,
| "linkedin.com" => ProviderId::LinkedIn,
| "microsoft.com" => ProviderId::Microsoft,
| "twitter.com" => ProviderId::Twitter,
| "yahoo.com" => ProviderId::Yahoo,
Expand Down

0 comments on commit 99c3632

Please sign in to comment.