Instance Methodswift-package-manager 6.0.1PackageRegistry
authentication(for:)
RegistryConfiguration.swift:77func authentication(for registryURL: URL) throws -> Authentication?
func authentication(for registryURL: URL) throws -> Authentication?
s15PackageRegistry0B13ConfigurationV14authentication3forAC14AuthenticationVSg20FoundationEssentials3URLV_tKF
What are these?5UE01
import PackageRegistry
struct RegistryConfiguration
struct URL
A URL is a type that can potentially contain the location of a resource on a remote server, the path of a local file on disk, or even an arbitrary piece of encoded data.
struct Authentication
init()
init(from decoder: Decoder) throws
static let version: Version
var defaultRegistry: Registry?
var explicitlyConfigured: Bool { get }
var registryAuthentication: [String : Authentication]
var scopedRegistries: [PackageIdentity.Scope : Registry]
var security: Security?
mutating func add(authentication: Authentication, for registryURL: URL) throws
func encode(to encoder: Encoder) throws
mutating func merge(_ other: RegistryConfiguration)
func registry(for scope: PackageIdentity.Scope) -> Registry?
func registry(for package: PackageIdentity) -> Registry?
mutating func removeAuthentication(for registryURL: URL)
func signing(for package: PackageIdentity.RegistryIdentity, registry: Registry) -> Security.Signing
enum AuthenticationType
struct Security
enum Version