Enumerationswift-package-manager 6.0.1PackageRegistry
AuthenticationType
RegistryConfiguration.swift:127enum AuthenticationType
Cases
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (19) members.
Types
Type members
Instance members
var defaultRegistry: Registry?
var explicitlyConfigured: Bool
var registryAuthentication: [String : Authentication]
var scopedRegistries: [PackageIdentity.Scope : Registry]
var security: Security?
func add(authentication: Authentication, for: URL
) throws func authentication(for: URL
) throws -> Authentication? func encode(to: Encoder
) throws func merge(RegistryConfiguration
) func registry(for: PackageIdentity.Scope
) -> Registry? func registry(for: PackageIdentity
) -> Registry? func removeAuthentication(for: URL
) func signing(for: PackageIdentity.RegistryIdentity, registry: Registry
) -> Security.Signing
Citizens in PackageRegistry
Conformances
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Type features
init(from: any Decoder
) throws Creates a new instance by decoding from the given decoder, when the type’s
RawValue
isString
.static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Instance features
var hashValue: Int
func encode(to: any Encoder
) throws Encodes this value into the given encoder, when the type’s
RawValue
isString
.func hash(into: inout Hasher
)