Categorygithub.com/jitsi/jap
modulepackage
0.0.7
Repository: https://github.com/jitsi/jap.git
Documentation: pkg.go.dev

# README

Jitsi Authentication Portal

GoDoc License

The Jitsi Authentication Portal is an OAuth2 frontend that allows authentication with a number of third party providers and generates short-lived, signed, JWT (jot) tokens to assert the users identity to Jitsi Meet.

The package contains a number of handlers which can be used to build your own compatible login service. There is also an example service in the cmd/jap directory which provides a simple frontend.

To get started, install the jap command and run it:

go get github.com/jitsi/jap
go install github.com/jitsi/jap/cmd/jap
jap -help

License

The package may be used under the terms of the BSD 2-Clause License a copy of which may be found in the file LICENSE.md.

# Packages

No description provided by the author

# Functions

CIDFromContext returns the client ID bound to the context, if any.
GoogleLogin returns a handler which attempts to extract a client ID from its context and sends the information to Google to validate the user.
NewCIDContext returns a copy of the parent context and associates it with a client id.

# Type aliases

PermissionChecker is a function that's used for checking if the email associated with a given token has permission to perform some action.