Authn
public class Authn
Authn client-side service implementer as defined in gemSpec_Authentisierung Vers_V1.1.0 Spezifikation Authentisierung des Versicherten ePA
-
Holds the information the signature can be validated with.
See moreDeclaration
Swift
public struct CertificateInfo
-
List of signature algorithms that can be used to sign a challenge for authentication.
See moreDeclaration
Swift
public enum SignatureAlgorithm
-
Wrapper for string information to be passed around
See moreDeclaration
Swift
public struct Token
-
Initialize Authn service
Declaration
Swift
public convenience init(service url: URL)
Parameters
url
the base url for the Aktor Authn service. [e.g. https://www.aktor-service.de/Authentication/I_Authentication_Insurant]
-
Create a login
Token
to be send to the ePa system to validate our authenticity.Declaration
Swift
public func login(authenticator: Authenticator) -> Executable<Token>
Parameters
authenticator
Instance of the
Authenticator
protocolReturn Value
Executable that emits a
Token
that can be used to validate authenticity.