Sesame-Server/Sources/App/API/SesameHeader.swift

15 lines
239 B
Swift
Raw Permalink Normal View History

2023-12-08 12:39:10 +01:00
import Foundation
#if canImport(CryptoKit)
import CryptoKit
#else
import Crypto
#endif
enum SesameHeader {
2023-12-08 16:12:37 +01:00
static let authenticationHeader = "Authorization"
2023-12-08 12:39:10 +01:00
static let serverAuthenticationTokenSize = SHA256.byteCount
}