rbac

package
v0.0.0-...-599ae38 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RBACInfo

type RBACInfo interface {
	GetUser(r *http.Request) (*User, error)
	GetADgroups(r *http.Request, id string) ([]string, error)
}

type User

type User struct {
	Surname      string `json:"Surname,omitempty"`
	Givenname    string `json:"Givenname,omitempty"`
	UID          string `json:"UID,omitempty"`
	Displayname  string `json:"Displayname,omitempty"`
	Emailaddress string `json:"Emailaddress,omitempty"`
}

Jump to

Keyboard shortcuts

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