Skip to content

Commit a8325d5

Browse files
authored
add comments for Oauth interface (#4038)
Signed-off-by: yxxhero <aiopsclub@163.com>
1 parent bf0e6f4 commit a8325d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manager/auth/oauth/oauth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ type User struct {
4141
Avatar string
4242
}
4343

44+
// Oauth interface for oauth2
4445
type Oauth interface {
4546
AuthCodeURL() (string, error)
4647
Exchange(string) (*oauth2.Token, error)

0 commit comments

Comments
 (0)