SRGSSR / srgidentity-apple

The SRG signup and login framework
MIT License
1 stars 0 forks source link
apple

SRG Identity logo

GitHub releases platform SPM compatible GitHub license

About

The SRG Identity framework is a simple way to authenticate users within SRG SSR applications.

Compatibility

The library is suitable for applications running on iOS 12, tvOS 12 and above. The project is meant to be compiled with the latest Xcode version.

Contributing

If you want to contribute to the project, have a look at our contributing guide.

Integration

The library must be integrated using Swift Package Manager directly within Xcode. You can also declare the library as a dependency of another one directly in the associated Package.swift manifest.

Usage

When you want to use classes or functions provided by the library in your code, you must import it from your source files first. In Objective-C:

@import SRGIdentity;

or in Swift:

import SRGIdentity

Working with the library

To learn about how the library can be used, have a look at the getting started guide.

Logging

The library internally uses the SRG Logger library for logging, within the ch.srgssr.identity subsystem. This logger either automatically integrates with your own logger, or can be easily integrated with it. Refer to the SRG Logger documentation for more information.

License

See the LICENSE file for more information.