docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IServiceAuthorizer

    This interface abstracts the task of applying authorization information to a given resource.

    Namespace: Unity.Cloud.Common
    Assembly: Unity.Cloud.Common.dll
    Syntax
    public interface IServiceAuthorizer

    Methods

    AddAuthorization(HttpHeaders)

    Applies authorization information to a given set of HttpHeaders.

    Declaration
    Task AddAuthorization(HttpHeaders headers)
    Parameters
    Type Name Description
    HttpHeaders headers

    The HttpHeaders to add authorization information to.

    Returns
    Type Description
    Task

    A Task for the operation.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if headers is null.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)