Function oauth2::insecure::authorize_url

source ·
pub fn authorize_url<EF, TT, TE>(client: &Client<EF, TT, TE>) -> Urlwhere
    EF: ExtraTokenFields,
    TT: TokenType,
    TE: ErrorResponseType,
Expand description

Produces the full authorization URL used by the Authorization Code Grant flow, which is the most common OAuth2 flow.

Security Warning

The URL produced by this function is vulnerable to Cross-Site Request Forgery attacks. It is highly recommended to use the Client::authorize_url function instead.