fars 0.2.0

An unofficial Rust client for the Firebase Auth REST API.
Documentation
/// Refresh token of the Firebase Auth to exchange for a new ID token and refresh token.
#[derive(Clone, Debug, Hash, Eq, PartialEq)]
pub struct RefreshToken {
    inner: String,
}

impl RefreshToken {
    /// Creates a new refresh token.
    pub fn new<S>(inner: S) -> Self
    where
        S: Into<String>,
    {
        Self {
            inner: inner.into(),
        }
    }

    /// Returns the inner representation.
    pub fn inner(&self) -> &str {
        &self.inner
    }
}