oauthgitlab

package
v3.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2017 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

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) GetAuthDataFromJson

func (m *GitLabProvider) GetAuthDataFromJson(data io.Reader) string

func (*GitLabProvider) GetIdentifier

func (m *GitLabProvider) GetIdentifier() string

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