gocas

package
v0.0.0-...-aaec82e Latest Latest
Warning

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

Go to latest
Published: May 6, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CASServerConfig

type CASServerConfig struct {
	ServerHostname  string
	IgnoreSSLErrors bool

	ServiceTicket string
	Server        *http.Server
	// contains filtered or unexported fields
}

func (*CASServerConfig) StartLocalAuthenticationProcess

func (server *CASServerConfig) StartLocalAuthenticationProcess() string

func (*CASServerConfig) ValidateTicket

func (server *CASServerConfig) ValidateTicket(ticket string) (*CASValidationResponse, error)

type CASValidationResponse

type CASValidationResponse struct {
	IsValid  bool
	Username string
}

Jump to

Keyboard shortcuts

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