You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/service/gitee/oauth.authorize.go

11 lines
252 B

package gitee
import (
"fmt"
)
// OauthAuthorize 获取登录地址
func (c *Client) OauthAuthorize() string {
return fmt.Sprintf(apiUrl+"/oauth/authorize?client_id=%s&redirect_uri=%s&response_type=code", c.config.ClientID, c.config.RedirectUri)
}