README
Authn
Anonymous
Auth
Authenticator
Basic
Bearer
DefaultKeychain
Helper
Keychain
Token
Containerregistry
Name
BadNameException
Digest
Reference
References
Registry
Repository
Tag
Net
Byte
IP
IPBase
IPMask
IPNet
V1
Cache
Cacher
FileSystemCache
LayerNotFound
ReadOnly
Config
ConfigFile
Descriptor
Duration
Empty
Hash
HealthConfig
History
Image
ImageIndex
IndexManifest
Layer
Logger
Manifest
Mutate
Addendum
Partial
CompressedImageCore
CompressedLayer
ImageCore
UncompressedImageCore
UncompressedLayer
WithBlob
WithConfigFile
WithDiffID
WithManifest
WithManifestAndConfigFile
WithRawConfigFile
WithRawManifest
WithUncompressedLayer
Platform
Random
Remote
Descriptor
Manifest
MountableImage
MountableLayer
Option
Transport
Anonymous
AuthHandler
Basic
Bearer
Challenge
PingResp
RedirectionMiddleware
RegistryError
StdoutLogger
RootFS
Stream
ExConsumed
ExNotComputed
Layer
Tarball
Layer
Opener
SingleImageTarDescriptor
Types
MediaType
Util
Group
NoOpCloser
Once
ReaderAndCloser
Closer
TeeReader
WaitGroup
Validator
class
Authn::Bearer
Authn::Bearer
Authn::Authenticator
Reference
Object
Overview
Bearer implements Authenticator for bearer authentication.
Defined in:
authn/bearer.cr
Constructors
.new
(__temp_34 : JSON::PullParser)
.new
(token : String)
Instance Method Summary
#authorization
#to_json
(json : JSON::Builder)
#token
: String
#token=
(_token : String)
Instance methods inherited from class
Authn::Authenticator
authorization : String
authorization
Constructor Detail
def self.
new
(__temp_34 : JSON::PullParser)
#
def self.
new
(token : String)
#
[
View source
]
Instance Method Detail
def
authorization
#
[
View source
]
def
to_json
(json : JSON::Builder)
#
def
token
: String
#
def
token=
(_token : String)
#