oauth

package
v0.0.0-...-d0700b5 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	runnable.Runnable
	// contains filtered or unexported fields
}

Service is Alisa service implementation

func NewService

func NewService(router gin.IRoutes) (service *Service, e error)

NewService return new service implementation

func (*Service) Run

func (service *Service) Run(ctx context.Context) error

Run is implementation of runnable.Runnable interface

func (*Service) ValidationBearerToken

func (service *Service) ValidationBearerToken(ginCtx *gin.Context) (oauth2.TokenInfo, error)

ValidationBearerToken do validate token on Resource Service

Jump to

Keyboard shortcuts

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