Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lapinek/d500042c123f20d36e3a52b687adfc39 to your computer and use it in GitHub Desktop.
Save lapinek/d500042c123f20d36e3a52b687adfc39 to your computer and use it in GitHub Desktop.
// AuthenticationResponse.swift
import Foundation
/**
Container for JSON callbacks expected from the authentication endpoint.
*/
struct AuthenticationResponse: Codable {
struct Callback: Codable {
let type: String?
}
let authId: String?
var callbacks: [Callback] = []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment