Class SimpleAuthentication

java.lang.Object
com.atlassian.bitbucket.auth.SimpleAuthentication
All Implemented Interfaces:
com.atlassian.bitbucket.auth.Authentication

public class SimpleAuthentication extends Object implements com.atlassian.bitbucket.auth.Authentication
  • Method Details

    • builder

      @Nonnull public static SimpleAuthentication.Builder builder(@Nullable com.atlassian.bitbucket.user.ApplicationUser user)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getProperties

      @Nonnull public Map<String,Serializable> getProperties()
      Specified by:
      getProperties in interface com.atlassian.bitbucket.auth.Authentication
    • getUser

      @Nonnull public Optional<com.atlassian.bitbucket.user.ApplicationUser> getUser()
      Specified by:
      getUser in interface com.atlassian.bitbucket.auth.Authentication
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object