BrowserRequestOptions
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
  
  
  
  
  
    
    
      An abstract class representing browser-based request parameters.
     
    
      
        
        
          Inherited Constant Summary
          
            From interface android.os.Parcelable
            
              
              
              
                
                  
                    | int | CONTENTS_FILE_DESCRIPTOR |  | 
                  
                    | int | PARCELABLE_WRITE_RETURN_VALUE |  | 
                
               
             
           
        
        
          Public Constructor Summary
          
        
        
          Public Method Summary
          
            
              | abstract byte[] |  | 
            
              | abstract Uri |  | 
          
        
        
          Inherited Method Summary
          
          
            From class java.lang.Object
            
              
              
                
                  
                    | Object | 
                        clone()
                       | 
                  
                    | boolean |  | 
                  
                    | void | 
                        finalize()
                       | 
                  
                    | final Class<?> | 
                        getClass()
                       | 
                  
                    | int | 
                        hashCode()
                       | 
                  
                    | final void | 
                        notify()
                       | 
                  
                    | final void | 
                        notifyAll()
                       | 
                  
                    | String | 
                        toString()
                       | 
                  
                    | final void | 
                        wait(long arg0, int arg1)
                       | 
                  
                    | final void | 
                        wait(long arg0)
                       | 
                  
                    | final void | 
                        wait()
                       | 
                
               
             
           
          
            From interface android.os.Parcelable
            
              
              
              
                
                  
                    | abstract int | 
                        describeContents()
                       | 
                  
                    | abstract void | 
                        writeToParcel(Parcel  arg0,
                        int arg1)
                       | 
                
               
             
           
        
      
     
    
    
    
    
    
    
    
    
      Public Constructors
      
        public BrowserRequestOptions ()
        
        
       
    
    
    
    
    
      Public Methods
      
        public abstract byte[]
        getClientDataHash ()
        
        
          
            Gets value of the client data hash.
           
         
       
      
        public abstract Uri getOrigin ()
        
        
       
    
    
    
   
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2024-10-31 UTC.
  
  
  
    
      [null,null,["Last updated 2024-10-31 UTC."],[],["`BrowserRequestOptions` is an abstract class for browser-based request parameters, extending `RequestOptions`. It's used for make credential and signature requests from a Web browser, via its subclasses: `BrowserPublicKeyCredentialCreationOptions` and `BrowserPublicKeyCredentialRequestOptions`. Key actions include retrieving the client data hash via `getClientDataHash()` and getting the request origin using `getOrigin()`. It also includes inherited methods from `RequestOptions` like getting a challenge, request ID, and serializing options to bytes.\n"]]