Choose Apple menu > System Preferences Settings, then click General in the sidebar.In the menu bar, go to File > Home Sharing, then select Choose Photos to Share with Apple TV. Click Sharing on the right. Turn on Media Sharing, then click the Info button next to it. Then select Share Photos with Apple TV. On your Mac: Choose Apple menu > System Settings, then click General in the sidebar.You can also view photos from your computer on your Apple TV. On your Apple TV, go to the Home Screen, select Computers, and choose a shared library.On your computer, open the Music app, Apple TV app, or iTunes for Windows.Connect your Apple TV to the same Wi-Fi network as your computer.Use the same Apple ID for every computer or device on your Home Sharing network.Īfter you sign in, follow these steps to access your computer's media library on your Apple TV: Go to Settings > Users and Accounts > Home Sharing.Where can I get it?įirst, install NuGet.To use Home Sharing to access your computer's media library on your Apple TV, sign in to Home Sharing on your Apple TV: Validates if token is iSHARE compliant and belongs to the party. IJwtTokenResponseValidator.IsValidAsync(.) Parses input string of JWT token into assertion model which is going to be used for validation. Scheme Owner's trusted list endpoint returns a list of CAs and their SHA256 hash of certificates, so this method is useful for verification. CertificateUtilities.FromBase64Der(.)Ĭonverts input string of base64 encoded certificate into X509Certificate2 object. CertificateUtilities.FromPemFormat(.)Ĭonverts input string of PEM certificate into X509Certificate2 object. TokenConvert.DeserializeClaim(.)Įxtracts claim from JWT security token and deserializes it to your desired object. Retrieves a trusted list of certificate authorities from Scheme Owner. This method accepts different parameters that allows to filter out parties according to your needs. Retries all parties that exist in iSHARE scheme from Scheme Owner. You will need to append /authorize, /token and /userinfo in order to make requests towards them. ![]() Retrieves all identity providers (names and URLs) that exist in iSHARE scheme from Scheme Owner. IIdentityProvidersQueryService.GetAsync(.) This method is suitable to retrieve capabilities from any iSHARE compliant party. ![]() To understand how to do that please read Distributed caching in ASP.NET Core. However, if in memory cache is not suitable for your party feel free to register your own implementation. ![]() It does not generate client_assertion, so it must be passed as a parameter.įor caching IDistributedMemor圜ache was used and default Microsoft's implementation of memory cache is registered by invoking services.AddIShareServices() method. This method is suitable to retrieve access tokens from any iSHARE compliant party. Retrieves the access token from cache or makes a HTTP request and caches the access token for request URI. What API is inside? IAccessTokenAccessor.GetAsync(.) If you prefer to have custom settings instead of our predefined (default), make sure to register your own implementation of IShareSettings before adding iSHARE services. AddIShareServices() // for testing make sure to pass isProduction: false Public override void ConfigureServices( IServiceCollection services)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |