Skip to content

Commit

Permalink
marks app-id auth usage as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
rajanadar committed Aug 29, 2016
1 parent 9186292 commit 72697f3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
@@ -1,10 +1,15 @@
using VaultSharp.Infrastructure.Validation;
using System;
using VaultSharp.Infrastructure.Validation;

namespace VaultSharp.Backends.Authentication.Models.AppId
{
/// <summary>
/// Represents the login information for the AppId Authentication backend.
/// </summary>
[Obsolete("The AppId Authentication backend in Vault is now deprecated with the addition " +
"of the new AppRole backend. There are no plans to remove it, but we encourage " +
"using AppRole whenever possible, as it offers enhanced functionality " +
"and can accommodate many more types of authentication paradigms.")]
public class AppIdAuthenticationInfo : IAuthenticationInfo
{
/// <summary>
Expand Down
Expand Up @@ -52,6 +52,10 @@ public class AuthenticationBackendType : IEquatable<AuthenticationBackendType>
/// <value>
/// The application identifier.
/// </value>
[Obsolete("The AppId Authentication backend in Vault is now deprecated with the addition " +
"of the new AppRole backend. There are no plans to remove it, but we encourage " +
"using AppRole whenever possible, as it offers enhanced functionality " +
"and can accommodate many more types of authentication paradigms.")]
public static AuthenticationBackendType AppId
{
get
Expand Down
Expand Up @@ -9,6 +9,10 @@

namespace VaultSharp.Backends.Authentication.Providers.AppId
{
[Obsolete("The AppId Authentication backend in Vault is now deprecated with the addition " +
"of the new AppRole backend. There are no plans to remove it, but we encourage " +
"using AppRole whenever possible, as it offers enhanced functionality " +
"and can accommodate many more types of authentication paradigms.")]
internal class AppIdAuthenticationProvider : IAuthenticationProvider
{
private readonly AppIdAuthenticationInfo _appIdAuthenticationInfo;
Expand Down

0 comments on commit 72697f3

Please sign in to comment.