oauthgitlab

package
v5.21.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitLabProvider

type GitLabProvider struct {
}

func (*GitLabProvider) GetUserFromJson

func (m *GitLabProvider) GetUserFromJson(data io.Reader) *model.User

type GitLabUser

type GitLabUser struct {
	Id       int64  `json:"id"`
	Username string `json:"username"`
	Login    string `json:"login"`
	Email    string `json:"email"`
	Name     string `json:"name"`
}

func (*GitLabUser) IsValid

func (glu *GitLabUser) IsValid() bool

func (*GitLabUser) ToJson

func (glu *GitLabUser) ToJson() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL