redirecturi

package
v0.0.0-...-b95789e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new RedirectUri Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddRedirectUri

func AddRedirectUri(uri string)

func ClientID

func ClientID() string

ClientID is the OAuth client ID.

func ClientSecret

func ClientSecret() string

ClientSecret is the OAuth client secret.

func Environment

func Environment() *azure.Environment

Environment() returns an `azure.Environment{...}` for the current cloud.

func GetADApplication

func GetADApplication(ctx context.Context, applicationObjectID string) (graphrbac.Application, error)

func GetGraphAuthorizer

func GetGraphAuthorizer() (autorest.Authorizer, error)

GetGraphAuthorizer gets an OAuthTokenAuthorizer for graphrbac API.

func ObjectId

func ObjectId() string

func TenantID

func TenantID() string

TenantID is the AAD tenant to which this client belongs.

func UpdateADApplication

func UpdateADApplication(ctx context.Context, applicationObjectID string, replyUrls []string) (autorest.Response, error)

func UserAgent

func UserAgent() string

UserAgent() specifies a string to append to the agent identifier.

Types

type OAuthGrantType

type OAuthGrantType int

OAuthGrantType specifies which grant type to use.

const (
	// OAuthGrantTypeServicePrincipal for client credentials flow
	OAuthGrantTypeServicePrincipal OAuthGrantType = iota
)

type ReconcileRedirectUri

type ReconcileRedirectUri struct {
	// contains filtered or unexported fields
}

ReconcileRedirectUri reconciles a RedirectUri object

func (*ReconcileRedirectUri) Reconcile

func (r *ReconcileRedirectUri) Reconcile(request reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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