Search Results for

    Show / Hide Table of Contents

    Class OAuth2Scopes

    Inheritance
    object
    OAuth2Scopes
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Worldline.Acquiring.Sdk.Authentication
    Assembly: Worldline.Acquiring.Sdk.dll
    Syntax
    public static class OAuth2Scopes

    Properties

    All

    Returns all available scopes.

    Declaration
    public static IImmutableSet<string> All { get; }
    Property Value
    Type Description
    IImmutableSet<string>

    Methods

    ForApiVersion(string)

    Returns all scopes needed for all operations of the given API version.

    Declaration
    public static IImmutableSet<string> ForApiVersion(string apiVersion)
    Parameters
    Type Name Description
    string apiVersion
    Returns
    Type Description
    IImmutableSet<string>

    ForOperation(string, string)

    Returns all scopes needed for the given operation of the given API version.

    Declaration
    public static IImmutableSet<string> ForOperation(string apiVersion, string operationId)
    Parameters
    Type Name Description
    string apiVersion
    string operationId
    Returns
    Type Description
    IImmutableSet<string>

    ForOperations(Func<string, string, bool>)

    Returns all scopes needed for the operations that pass the given filter.

    Declaration
    public static IImmutableSet<string> ForOperations(Func<string, string, bool> filter)
    Parameters
    Type Name Description
    Func<string, string, bool> filter

    The filter to apply. The first argument is the API version, the second is the operation id.

    Returns
    Type Description
    IImmutableSet<string>

    ForOperations(string, params string[])

    Returns all scopes needed for the given operations of the given API version.

    Declaration
    public static IImmutableSet<string> ForOperations(string apiVersion, params string[] operationIds)
    Parameters
    Type Name Description
    string apiVersion
    string[] operationIds
    Returns
    Type Description
    IImmutableSet<string>
    In This Article
    Back to top Copyright (c) 2024 Worldline Financial Services (Europe) SA