none

package
v1.0.60 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenResponse

type TokenResponse struct {
}

TokenResponse implementation for None authentication

func RequestToken

func RequestToken() (*TokenResponse, error)

RequestToken does pretty little here...

func (TokenResponse) AuthHeader

func (tr TokenResponse) AuthHeader() string

AuthHeader returns contents of the Authorization HTTP header

func (TokenResponse) ExpiresIn

func (tr TokenResponse) ExpiresIn() int

ExpiresIn is set to 0 for None authentication

func (TokenResponse) Method

func (tr TokenResponse) Method() string

Method is set to "None"

func (TokenResponse) Token

func (tr TokenResponse) Token() string

Token is set to a dummy string

Jump to

Keyboard shortcuts

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