oauth

package
v0.0.0-...-01866ad Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateRequest

func AuthenticateRequest(r *http.Request) *errors.RestErr

func GetCallerId

func GetCallerId(r *http.Request) int64

func GetClientId

func GetClientId(r *http.Request) int64

func IsPublic

func IsPublic(r *http.Request) bool

Types

type AccessToken

type AccessToken struct {
	Id       string `json:"id"`
	UserId   int64  `json:"user_id"`
	ClientId int64  `json:"client_id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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