Skip to content

Instantly share code, notes, and snippets.

@rsaenzi
Created July 21, 2019 21:55
Show Gist options
  • Select an option

  • Save rsaenzi/5c6efc8e97e19de9043664ab6c0a8563 to your computer and use it in GitHub Desktop.

Select an option

Save rsaenzi/5c6efc8e97e19de9043664ab6c0a8563 to your computer and use it in GitHub Desktop.
Class that holds all the sensitive information required to connect to an authenticated API in iOS
//
// ApiCredentials.swift
//
// Created by Rigoberto Sáenz Imbacuán (https://www.linkedin.com/in/rsaenzi/)
// Copyright © 2019. All rights reserved.
//
import UAObfuscatedString
// For security reasons, all sensitive info is obfuscated
class ApiCredentials {
static var apiURL: String = "".h.t.t.p.s.colon.forward_slash.forward_slash.a.p.i.dot.t.h.e.m.o.v.i.e.d.b.dot.o.r.g.forward_slash._3
static var apiKey: String = "".a.e._7._9._4._7._4.b.f._1._6.e._5.c.a.b._7._5._9.a._3.f._4.f._0._7._8.a._4.f._5.e
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment