go-alpjwtmanager

module
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT

README

Go-AlpJwtManager

Usage

package main

import (
	"github.com/AlperTk/go-alpjwtmanager/src/impl/keycloak"
)

func main() {
	var tokenManager = keycloak.NewTokenManager(
		"https://localhost:8443/auth/realms/marsrealm/protocol/openid-connect/token",
		"vpncontroller",
		"BMxjKIYZxqc3rJwWEci8TPO40mjVccls",
	)

	bearerToken, err = tokenManager.GetBearerToken()
}

Directories

Path Synopsis
example
src

Jump to

Keyboard shortcuts

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