This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LoginSelectionRouter.swift | |
// | |
// Created by Rasmus Styrk on 12/12/2019. | |
// Copyright © 2019 House of Code ApS. All rights reserved. | |
// | |
import UIKit | |
class LoginSelectionRouter: LoginSelectionRouterInput { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppCordinator.swift | |
// | |
// Created by Rasmus Styrk on 12/12/2019. | |
// Copyright © 2019 House of Code ApS. All rights reserved. | |
// | |
import UIKit | |
import RxSwift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppDelegate.swift | |
// | |
// Created by Rasmus Styrk on 12/12/2019. | |
// Copyright © 2019 Rasmus Styrk. All rights reserved. | |
// | |
import UIKit | |
@UIApplicationMain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppleSignInController < ApplicationController | |
APPLE_PEM_URL = "https://appleid.apple.com/auth/keys" | |
# /api/apple/validate | |
def validate | |
name = params[:name] | |
userIdentity = params[:userIdentity] | |
jwt = params[:jwt] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppleSignInViewController.swift | |
// | |
// Created by Rasmus Styrk on 26/11/2019. | |
// Copyright © 2019 House of Code ApS. All rights reserved. | |
// | |
import UIKit | |
import AuthenticationServices |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RippleCircleNode.swift | |
// | |
// Created by Rasmus Styrk on 14/09/2018. | |
// Copyright © 2018 House of Code ApS. All rights reserved. | |
// | |
// Updated https://gist.github.com/gblancogarcia/4b8c22dd9f0272edde86 | |
// - Swift 4.2 | |
// - Made fade out a bit slower | |
// - Changed scale paramater to newRadius instead |