/
Deprecated.swift
35 lines (32 loc) · 1.73 KB
/
Deprecated.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//===----------------------------------------------------------------------===//
//
// This source file is part of the Hummingbird server framework project
//
// Copyright (c) 2024 the Hummingbird authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
// Below is a list of deprecated symbols with the "HB" prefix. These are available
// temporarily to ease transition from the old symbols that included the "HB"
// prefix to the new ones.
//
// This file will be removed before we do a 2.0 release
@_documentation(visibility: internal) @available(*, deprecated, renamed: "AuthRequestContext")
public typealias HBAuthRequestContext = AuthRequestContext
@_documentation(visibility: internal) @available(*, deprecated, renamed: "BasicAuthRequestContext")
public typealias HBBasicAuthRequestContext = BasicAuthRequestContext
@_documentation(visibility: internal) @available(*, deprecated, renamed: "LoginCache")
public typealias HBLoginCache = LoginCache
@_documentation(visibility: internal) @available(*, deprecated, renamed: "Authenticatable")
public typealias HBAuthenticatable = Authenticatable
@_documentation(visibility: internal) @available(*, deprecated, renamed: "Authenticator")
public typealias HBAuthenticator = Authenticator
@_documentation(visibility: internal) @available(*, deprecated, renamed: "SessionAuthenticator")
public typealias HBSessionAuthenticator = SessionAuthenticator
@_documentation(visibility: internal) @available(*, deprecated, renamed: "SessionStorage")
public typealias HBSessionStorage = SessionStorage