f8e0615cc8
These changes ensure that the new (SHA256) session ID is returned in the "session_id" field, so that developers have time to update their client implementations to use the new "access_token" field. Signed-off-by: Michael Mayer <michael@photoprism.app>
9 lines
249 B
Go
9 lines
249 B
Go
package header
|
|
|
|
const (
|
|
SessionID = "X-Session-ID"
|
|
AuthToken = "X-Auth-Token"
|
|
Authorization = "Authorization" // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization
|
|
BasicAuth = "Basic"
|
|
BearerAuth = "Bearer"
|
|
)
|