Type Alias UpdateGitProviderAccountResponse

Source
pub type UpdateGitProviderAccountResponse = GitProviderAccount;

Aliased Type§

struct UpdateGitProviderAccountResponse {
    pub id: String,
    pub domain: String,
    pub https: bool,
    pub username: String,
    pub token: String,
}

Fields§

§id: String

The Mongo ID of the git provider account. This field is de/serialized from/to JSON as { "_id": { "$oid": "..." }, ...(rest of serialized User) }

§domain: String

The domain of the provider.

For git, this cannot include the protocol eg ‘http://’, which is controlled with ‘https’ field.

§https: bool

Whether git provider is accessed over http or https.

§username: String

The account username

§token: String

The token in plain text on the db. If the database / host can be accessed this is insecure.