Function generateAuthorizationURL

  • Generates a link for users to click on in order to use your application!

    Parameters

    • client_id: number
    • redirect_uri: string

      The specified Application Callback URL, aka where the user will be redirected upon clicking the button to authorize

    • scopes: Scope[]

      What you want to do with/as the user

    • server: string = "https://osu.ppy.sh"

      The API server (defaults to https://osu.ppy.sh, leave as is if you don't know exactly what you're doing)

    Returns string

    The link people should click on