Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IExternalLoginWithKeyRepository

    Repository for external logins with Guid as key, so it can be shared for members and users.

    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IExternalLoginWithKeyRepository : IReadWriteQueryRepository<int, IIdentityUserLogin>, IReadRepository<int, IIdentityUserLogin>, IWriteRepository<IIdentityUserLogin>, IQueryRepository<IIdentityUserLogin>, IQueryRepository<IIdentityUserToken>, IRepository

    Methods

    View Source

    DeleteUserLogins(Guid)

    Deletes all external logins for the specified the user/member key.

    Declaration
    void DeleteUserLogins(Guid userOrMemberKey)
    Parameters
    Type Name Description
    Guid userOrMemberKey
    View Source

    DeleteUserLoginsForRemovedProviders(IEnumerable<String>)

    Deletes external logins that aren't associated with the current collection of providers.

    Declaration
    virtual void DeleteUserLoginsForRemovedProviders(IEnumerable<string> currentLoginProviders)
    Parameters
    Type Name Description
    IEnumerable<System.String> currentLoginProviders

    The names of the currently configured providers.

    View Source

    Save(Guid, IEnumerable<IExternalLogin>)

    Replaces all external login providers for the user/member key.

    Declaration
    void Save(Guid userOrMemberKey, IEnumerable<IExternalLogin> logins)
    Parameters
    Type Name Description
    Guid userOrMemberKey
    IEnumerable<IExternalLogin> logins
    View Source

    Save(Guid, IEnumerable<IExternalLoginToken>)

    Replaces all external login provider tokens for the providers specified for the user/member key.

    Declaration
    void Save(Guid userOrMemberKey, IEnumerable<IExternalLoginToken> tokens)
    Parameters
    Type Name Description
    Guid userOrMemberKey
    IEnumerable<IExternalLoginToken> tokens
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX