goauth-server

command module
v0.0.0-...-8629cba Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 3 Imported by: 0

README

auth-server

OAuth 2 Resource/Server protocol implementation in Go

Package goauth/oauth-server implementes OAuth 2.0 resource/server protocol

Install

To install this package you will run the following

go get -u github.com/goauth/oauth-server

Usage

package main

import (
  goauth "goauth/oauth-server"
)
func main() {
  oauth := goauth.NewResourceServer()
  fmt.Println(oauth)
}

Documentation

What is OAuth?

OAuth stands for Open Authorization(OAuth) and is a protocol where a resource server shares some of the user-owned resources with a third party client with the authorization from the resource owner. The resource server/authorization server issues an access token to the client which it can then use to access the resource-owner's information

goauth/oauth-server acts as both a resource server in case of client credentials grant type and acts as a

Grant Types

This package supports the following grant types

  • Implicit grant
  • Refresh token grant
  • Client credentials grant
  • Authorization code grat

Contributing

If you wish to contribute to this package, please feel free to create a pull request or start by creating an issue on github

Resources

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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